summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-05-25 19:49:55 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-25 18:21:09 -0700
commitee1350f94e5c7885142d736370e5fa7dc2c7747a (patch)
tree1c4ec94343a18f6a9b964c0da12f49873db4d041
parentd29d5ff9daee41a2553843574257e5a6724d5453 (diff)
downloadlinux-stable-ee1350f94e5c7885142d736370e5fa7dc2c7747a.tar.gz
linux-stable-ee1350f94e5c7885142d736370e5fa7dc2c7747a.tar.bz2
linux-stable-ee1350f94e5c7885142d736370e5fa7dc2c7747a.zip
r8169: sync RTL8168h hw config with vendor driver
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>
-rw-r--r--drivers/net/ethernet/realtek/r8169_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index d034a57a0e1c..173a4c41c4af 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -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);