[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_GetAdvert()

Store media types currently advertised by the PHY

Synopsis:

int MDI_GetAdvert  ( mdi_t * mdi,
                   int PhyAddr,
                   int Advert)

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).
Advert
A pointer to the memory location where the media types are stored. Valid media types are:
Note: The above-mentioned media types are flags. They may be OR'd together.

Description:

The MDI_GetAdvert() function stores the media types that are currently advertised by the PHY.

Classification:

QNX Neutrino

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

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