Store media types currently advertised by the PHY
int MDI_GetAdvert ( mdi_t * mdi,
int PhyAddr,
int Advert)
- 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:
- MDI_10bT -- 10 Base T, half-duplex
- MDI_10bTFD -- 10 Base T, full-duplex
- MDI_100bT -- 100 Base T, half-duplex
- MDI_100bTFD -- 100 Base T, full-duplex
- MDI_1000bT -- 1000 Base T, half-duplex
- MDI_1000bTFD -- 1000 Base T, full-duplex.
 |
The above-mentioned media types are flags. They may be OR'd
together. |
The MDI_GetAdvert() function stores the
media types that are currently advertised by the PHY.
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |