phy_aneg_done (9) - Linux Manuals

phy_aneg_done: return auto-negotiation status

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.

COPYRIGHT