Name

phy_aneg_done — return auto-negotiation status

Synopsis

int phy_aneg_done (struct phy_device * phydev);
 

Arguments

phydev

target phy_device struct

Description

Return the auto-negotiation status from this phydev Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.