Contents

setHardwareAddress(const IOEthernetAddress *)

Sets or changes the station address used by the Ethernet controller.

Declaration

virtual IOReturn setHardwareAddress(
 const IOEthernetAddress *addrP);

Parameters

  • addrP:

    Pointer to an IOEthernetAddress containing the new station address.

Return Value

The default implementation will always return kIOReturnUnsupported. If overridden, drivers must return kIOReturnSuccess on success, or an error return code otherwise.

Overview

This method is called in response to a client command to change the station address used by the Ethernet controller. Implementation of this method is optional. This method is called from the workloop context.

See Also

Miscellaneous