r8169: remove detection of chip version 11 (early RTL8168b)
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 27 May 2024 19:20:16 +0000 (21:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 May 2024 02:47:42 +0000 (19:47 -0700)
This early RTL8168b version was the first PCIe chip version, and it's
quite quirky. Last sign of life is from more than 15 yrs ago.
Let's remove detection of this chip version, we'll see whether anybody
complains. If not, support for this chip version can be removed a few
kernel versions later.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/875cdcf4-843c-420a-ad5d-417447b68572@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c

index 5c4296daf8f72462b6e2f46a6ffa9c63f75d5827..9246ea2118ff2ca4a59fd4b3ce327a9fbf739f13 100644 (file)
@@ -2274,7 +2274,9 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
 
                /* 8168B family. */
                { 0x7c8, 0x380, RTL_GIGA_MAC_VER_17 },
-               { 0x7c8, 0x300, RTL_GIGA_MAC_VER_11 },
+               /* This one is very old and rare, let's see if anybody complains.
+                * { 0x7c8, 0x300,      RTL_GIGA_MAC_VER_11 },
+                */
 
                /* 8101 family. */
                { 0x7c8, 0x448, RTL_GIGA_MAC_VER_39 },