MDI_EnableMonitor
![]() |
![]() |
![]() |
![]() |
MDI_EnableMonitor()
Allow the link monitor and PHY to communicate
Synopsis:
int MDI_EnableMonitor ( mdi_t *mdi,
int LDownTest)
Arguments:
- mdi
- A pointer to the mdi_t structure obtained from MDI_Register() or MDI_Register_Extended().
- LDownTest
- A test for the link down state.

When the value of LDownTest is 1, MDI_MonitorPhy() attempts to establish a new link by writing to various PHY registers.
Description:
The MDI_EnableMonitor() function allows the link monitor to communicate with the PHY and call the driver's link state change when appropriate. This function doesn't affect the delivery of link monitor pulses to the driver.
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
MDI_DisableMonitor(), MDI_MonitorPhy(), MDI_Register(), MDI_Register_Extended()
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)