1. NAME

genphy_config_aneg - restart auto-negotiation or write BMCR

2. SYNOPSIS

int genphy_config_aneg(struct phy_device *  phydev );

3. ARGUMENTS

phydev
    target phy_device struct

4. DESCRIPTION

If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.

5. COPYRIGHT