r8169: disable detection of chip version 45
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 15 Nov 2021 20:51:52 +0000 (21:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:10:31 +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 75adf97..d6a456c 100644 (file)
@@ -1986,7 +1986,10 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
 
                /* 8168H family. */
                { 0x7cf, 0x541, RTL_GIGA_MAC_VER_46 },
-               { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 },
+               /* It seems this chip version never made it to
+                * the wild. Let's disable detection.
+                * { 0x7cf, 0x540,      RTL_GIGA_MAC_VER_45 },
+                */
 
                /* 8168G family. */
                { 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },