Restart auto-negotiation or write bmcr
int genphy_config_aneg(struct phy_device * phydev);
phydev
target phy_device struct
If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.