Return auto-negotiation status
int genphy_aneg_done(struct phy_device * phydev);
phydev
target phy_device struct
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.