On Thu, 2021-05-20 at 10:38 +0800, DENG Qingfang wrote: > On Thu, May 20, 2021 at 02:59:21AM +0200, Andrew Lunn wrote: > > > +static void mtk_gephy_config_init(struct phy_device *phydev) > > > +{ > > > + /* Disable EEE */ > > > + phy_write_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0); > > > > Is EEE broken on this PHY? Or is this just to get it into a defined > > state? > > As I said in commit message, the initialization (including EEE) is > from the vendor driver. > I have also tested it with EEE enabled by default on one of my APs, > and got occasional link drops. > EEE of the 10-year-old MT7530 internal gephy has many IOT problems, so it is recommended to disable its EEE. EEE of the MT7531 internal gephy has been updated, but it is not yet widely used. Therefore, EEE is disabled in vendor driver. Landen > > Otherwise > > > > Reviewed-by: Andrew Lunn <andrew@xxxxxxx> > > > > Andrew