]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: sync RTL8168g hw config with vendor driver
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 May 2020 17:49:15 +0000 (19:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 May 2020 01:21:09 +0000 (18:21 -0700)
Sync hw config for RTL8168g with r8168 vendor driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c

index 79090aefac698b7728338646f10812d78c95c3bc..d034a57a0e1cb2f08650865ffb100d44db8c10a1 100644 (file)
@@ -3019,6 +3019,7 @@ static void rtl_hw_start_8168g(struct rtl8169_private *tp)
 
        rtl_eri_write(tp, 0xc0, ERIAR_MASK_0011, 0x0000);
        rtl_eri_write(tp, 0xb8, ERIAR_MASK_0011, 0x0000);
+       rtl_eri_set_bits(tp, 0x0d4, 0x1f80);
 
        rtl8168_config_eee_mac(tp);