DRV_ETHPHY_RestartNegotiation Function
C
DRV_ETHPHY_RESULT DRV_ETHPHY_RestartNegotiation(DRV_HANDLE handle, DRV_ETHPHY_INTERFACE_INDEX portIndex);
Returns
DRV_ETHPHY_RES_PENDING operation has been scheduled successfully
an DRV_ETHPHY_RESULT error code if the procedure failed.
Description
This function restarts auto-negotiation of the Ethernet PHY link.
Remarks
Use DRV_ETHPHY_ClientStatus() and DRV_ETHPHY_ClientOperationResult() to check when the operation was completed and its outcome.
Preconditions
The DRV_ETHPHY_Initialize routine must have been called.
DRV_ETHPHY_Open must have been called to obtain a valid device handle.
DRV_ETHPHY_Setup must have been called to properly configure the PHY