1. NAME

phy_aneg_done - return auto-negotiation status

2. SYNOPSIS

int phy_aneg_done(struct phy_device *  phydev );

3. ARGUMENTS

phydev
    target phy_device struct

4. DESCRIPTION

Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.

5. COPYRIGHT