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 d6a456c..e896e5e 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 },
                /* 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. */
                { 0x7cf, 0x4c0, RTL_GIGA_MAC_VER_40 },
 
                /* 8168F family. */