Skip to content

Commit 2b5bc3c

Browse files
hkallweitdavem330
authored andcommitted
r8169: remove manual autoneg restart workaround
According to Neil who reported the issue leading to this workaround, the workaround is no longer needed since version 5.0. So let's remove it. This was the bug report leading to the workaround: https://bugzilla.kernel.org/show_bug.cgi?id=201081 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Tested-by: Neil MacLeod <neil@nmacleod.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 58908dc commit 2b5bc3c

File tree

1 file changed

+0
-8
lines changed
  • drivers/net/ethernet/realtek

1 file changed

+0
-8
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4083,14 +4083,6 @@ static void rtl8169_init_phy(struct net_device *dev, struct rtl8169_private *tp)
40834083
phy_speed_up(tp->phydev);
40844084

40854085
genphy_soft_reset(tp->phydev);
4086-
4087-
/* It was reported that several chips end up with 10MBit/Half on a
4088-
* 1GBit link after resuming from S3. For whatever reason the PHY on
4089-
* these chips doesn't properly start a renegotiation when soft-reset.
4090-
* Explicitly requesting a renegotiation fixes this.
4091-
*/
4092-
if (tp->phydev->autoneg == AUTONEG_ENABLE)
4093-
phy_restart_aneg(tp->phydev);
40944086
}
40954087

40964088
static void rtl_rar_set(struct rtl8169_private *tp, u8 *addr)

0 commit comments

Comments
 (0)