cyberchallenge-modem/buildroot/board/tiesse/tgr/kernel-patches/1007-imx8mm-phy-speed.patch

14 lines
413 B
Diff

Index: drivers/net/phy/phy_device.c
===================================================================
--- drivers/net/phy/phy_device.c
+++ linux-imx/drivers/net/phy/phy_device.c
@@ -1389,6 +1389,8 @@ int genphy_setup_forced(struct phy_devic
if (DUPLEX_FULL == phydev->duplex)
ctl |= BMCR_FULLDPLX;
+ ctl |= BMCR_RESET;
+
return phy_write(phydev, MII_BMCR, ctl);
}
EXPORT_SYMBOL(genphy_setup_forced);