MDI_AutoNegotiate
![]() |
![]() |
![]() |
![]() |
MDI_AutoNegotiate()
Initiate the autonegotiation process
Synopsis:
int MDI_AutoNegotiate ( mdi_t *mdi,
int PhyAddr,
int Timeout)
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).
- Timeout
- The maximum time in seconds, for the autonegotiation process to complete.
Make sure the value specified for timeout is greater than one.
The recommended value for timeout is seven seconds.

If MDI_NoWait is specified as the timeout, the function returns immediately after initiating autonegotiation.
Description:
The MDI_AutoNegotiate() function initiates the autonegotiation process between the PHY and its link partner.
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)