![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Select the media types to advertise
int MDI_SetAdvert( mdi_t * mdi, int PhyAddr, int Media );
![]() |
These media values are flags; you can OR them together. |
The MDI_SetAdvert() function selects the media types to advertise to the PHY's link partner.
Any other value indicates that an error occurred.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
MDI_GetAdvert(), MDI_Register(), MDI_Register_Extended()
![]() |
![]() |
![]() |
![]() |