[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MDI_GetActiveMedia()

Store the active media type for PhyAddr

Synopsis:

int MDI_GetActiveMedia ( mdi_t * mdi,
                       int PhyAddr,
                       int *Media)

Arguments:

mdi
A pointer to the mdi_t structure obtained from the MDI_Register_Extended() function call.
phyAddr
The physical address of the physical layer device (PHY).
Media
A pointer to the media-type specified. Possible media types are:

Description:

The MDI_GetActiveMedia() function stores the curently active media-type for the PHY that the media address specifies.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

[Previous] [Contents] [Index] [Next]