When a network controller driver starts up, it typically examines its hardware for the media supported and currently active, for example10Base-T and 100Base-T for ethernet. A driver can advertise these media by creating an instance of IONetworkMedium for each one, collecting them in an OSDictionary that it makes available to the network family by invoking the setMediumDictionary function defined by IONetworkController.
The driver should also invoke setCurrentMedium to establish the current selected medium. Similarly, when the driver notes that the network link has come up or gone down, it should invoke the setLinkStatus function to report the status to the network interface object.
Last updated: 2008-03-11