[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_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 the MDI_Register_Extended() function call.
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.
Note: 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

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