![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Check the status of all PHYs
int MDI_MonitorPhy ( mdi_t *mdi)
The driver can call this function when it receives a link monitor pulse or a link event interrupt. The MDI_MonitorPhy() function checks the status of all PHYs that were initialized with MDI_InitPhy(). The function calls the link state change callback if it detects a change to the link state since the last callback, or if this is the first time that MDI_MonitorPhy() was called since the PHY was reset.
![]() |
If you passed a value of 1 as the LDownTest argument to MDI_EnableMonitor(), and MDI_MonitorPhy() doesn't detect a link, it attempts to establish a new link by writing to various PHY registers. |
QNX Neutrino
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
MDI_DisableMonitor(), MDI_EnableMonitor(), MDI_InitPhy(), MDI_Register(), MDI_Register_Extended()
![]() |
![]() |
![]() |
![]() |