Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MDI_FindPhy()

Determine if a PHY exists

Synopsis:

int MDI_FindPhy ( 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). The address range must be between 0 and 31 inclusively.

Description:

The MDI_FindPhy() function determines if a PHY with an address of PhyAddr exists.

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

MDI_Register(), MDI_Register_Extended()