Contents

selectMedium

A client request to change the medium selection.

Declaration

virtual IOReturn selectMedium(
 const IONetworkMedium *medium);

Parameters

  • medium:

    An entry from the published medium dictionary that represents the selection chosen by the client.

Return Value

Returns kIOReturnUnsupported. Drivers may override this method and return kIOReturnSuccess if the selection was successful, or an error code otherwise.

Overview

This method is called when a client issues a command for the controller to change its current medium selection. The implementation must call setSelectedMedium() after the change has occurred. This method call is synchronized by the workloop's gate.

See Also

Miscellaneous