MDI_ResetPhy
![]() |
![]() |
![]() |
![]() |
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 MDI_Register() or MDI_Register_Extended().
- 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, specify a value of MDI_NoWait. If you use this value, this call returns immediately after the reset is initiated. When the reset is completed, 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 |
See also:
MDI_Register(), MDI_Register_Extended(), MDI_SyncPhy()
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)