]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: sync RTL8168h hw config with vendor driver
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 May 2020 17:49:55 +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 RTL8168h 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 d034a57a0e1cb2f08650865ffb100d44db8c10a1..173a4c41c4af6c89590e98d80d332a12e51ed651 100644 (file)
@@ -3250,9 +3250,8 @@ static void rtl_hw_start_8168h_1(struct rtl8169_private *tp)
 
        rtl_reset_packet_filter(tp);
 
-       rtl_eri_set_bits(tp, 0xdc, BIT(4));
-
        rtl_eri_set_bits(tp, 0xd4, 0x1f00);
+       rtl_eri_set_bits(tp, 0xdc, 0x001c);
 
        rtl_eri_write(tp, 0x5f0, ERIAR_MASK_0011, 0x4f87);