Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ MDI_GetLinkStatus

Media Vault

Software Library

Restoration Projects

Artifacts Sought

MDI_GetLinkStatus

[Previous] [Contents] [Index] [Next]

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] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026