]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: disable detection of chip version 41
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 15 Nov 2021 20:52:35 +0000 (21:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:10:32 +0000 (19:10 -0800)
It seems this chip version never made it to the wild. Therefore
disable detection and if nobody complains remove support completely
later.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c

index d6a456cce85c400390e2456ac4a81bf39b5b8a93..e896e5eca8048ba0a00e83d290e68069ef3e4783 100644 (file)
@@ -1994,7 +1994,10 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
                /* 8168G family. */
                { 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },
                { 0x7cf, 0x509, RTL_GIGA_MAC_VER_42 },
-               { 0x7cf, 0x4c1, RTL_GIGA_MAC_VER_41 },
+               /* It seems this chip version never made it to
+                * the wild. Let's disable detection.
+                * { 0x7cf, 0x4c1,      RTL_GIGA_MAC_VER_41 },
+                */
                { 0x7cf, 0x4c0, RTL_GIGA_MAC_VER_40 },
 
                /* 8168F family. */