MDI_GetLinkStatus
![]() |
![]() |
![]() |
![]() |
MDI_GetLinkStatus()
Determine the status of the PHY link
Synopsis:
int MDI_GetStatusLink ( mdi_t *mdi,
int PhyAddr );
Arguments:
- mdi
- A pointer to the mdi_t structure obtained from MDI_Register() or MDI_Register_Extended().
- PhyAddr
- The physical address of the physical layer device (PHY).
Description:
This function gets the link status of the PHY specified by PhyAddr.
Returns:
- MDI_BADPARAM
- PhyAddr is out of range.
- MDI_LINK_UP
- A valid link was detected.
- MDI_LINK_DOWN
- No link was detected.
- MDI_LINK_UNKOWN
- The link state isn't known.
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
MDI_Register(), MDI_Register_Extended()
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)