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

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

MDI_ResetPhy()

Reset the Phy

Synopsis:

int MDI_ResetPhy  ( mdi_t * mdi,
                    int PhyAddr,
                    MDI_WaitType Wait)

Arguments:

mdi
A pointer to the mdi_t structure obtained from the MDI_Register_Extended() function call.
PhyAddr
The physical address of the physical layer device (PHY).
Wait
The type of wait to be performed. If you want to complete the reset by the time the function returns, specify MDI_WaitBusy. If you want to try to have the driver receive an interrupt after the PHY reset completes, you can specify the MDI_NoWait argument. If you use the MDI_NoWait argument, this call returns immediately after the reset is initiated. When the reset completes, the driver must call MDI_SyncPhy() so the library can perform post-reset servicing.

Description:

The MDI_ResetPhy() function resets the PhyAddr that belongs to the PHY.

Classification:

QNX Neutrino

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

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