Check all PHY status
int MDI_MonitorPhy ( mdi_t *mdi)
- mdi
- A pointer to the mdi_t structure obtained from
the MDI_Register_Extended() function call.
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 the MDI_EnableMonitor() function passes a value of one
as the LDownTest argument, 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 |