> +/** > + * yt8831_config_aneg() - config auto-aneg > + * @phydev: a pointer to a &struct phy_device > + * > + * Returns: 0 or negative errno code > + */ > +static int yt8831_config_aneg(struct phy_device *phydev) > +{ > + int ret; > + > + ret = genphy_config_aneg(phydev); > + if (ret < 0) > + return ret; > + > + return genphy_c45_config_aneg(phydev);
That looks odd. So you restart the autoneg twice? Are there any other PHY drivers which do this? Andrew