]> git.baikalelectronics.ru Git - kernel.git/commitdiff
r8169: disable detection of chip versions 49 and 50
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 15 Nov 2021 20:51:14 +0000 (21:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:10:31 +0000 (19:10 -0800)
It seems these chip versions 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 d87b48432ca39ef91beb315e081323fb42db9743..75adf970740981dbeea73adc028d81188ab0616d 100644 (file)
@@ -1978,8 +1978,11 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
 
                /* 8168EP family. */
                { 0x7cf, 0x502, RTL_GIGA_MAC_VER_51 },
-               { 0x7cf, 0x501, RTL_GIGA_MAC_VER_50 },
-               { 0x7cf, 0x500, RTL_GIGA_MAC_VER_49 },
+               /* It seems this chip version never made it to
+                * the wild. Let's disable detection.
+                * { 0x7cf, 0x501,      RTL_GIGA_MAC_VER_50 },
+                * { 0x7cf, 0x500,      RTL_GIGA_MAC_VER_49 },
+                */
 
                /* 8168H family. */
                { 0x7cf, 0x541, RTL_GIGA_MAC_VER_46 },