7f0f23fccb671ba31cbed1ab1df6a4a53511f4f8
[openwrt/staging/linusw.git] /
1 From 982300c115d229565d7af8e8b38aa1ee7bb1f5bd Mon Sep 17 00:00:00 2001
2 From: Heiner Kallweit <hkallweit1@gmail.com>
3 Date: Mon, 27 May 2024 21:20:16 +0200
4 Subject: [PATCH] r8169: remove detection of chip version 11 (early
5 RTL8168b)
6
7 This early RTL8168b version was the first PCIe chip version, and it's
8 quite quirky. Last sign of life is from more than 15 yrs ago.
9 Let's remove detection of this chip version, we'll see whether anybody
10 complains. If not, support for this chip version can be removed a few
11 kernel versions later.
12
13 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
14 Link: https://lore.kernel.org/r/875cdcf4-843c-420a-ad5d-417447b68572@gmail.com
15 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
16 ---
17 drivers/net/ethernet/realtek/r8169_main.c | 4 +++-
18 1 file changed, 3 insertions(+), 1 deletion(-)
19
20 --- a/drivers/net/ethernet/realtek/r8169_main.c
21 +++ b/drivers/net/ethernet/realtek/r8169_main.c
22 @@ -2275,7 +2275,9 @@ static enum mac_version rtl8169_get_mac_
23
24 /* 8168B family. */
25 { 0x7c8, 0x380, RTL_GIGA_MAC_VER_17 },
26 - { 0x7c8, 0x300, RTL_GIGA_MAC_VER_11 },
27 + /* This one is very old and rare, let's see if anybody complains.
28 + * { 0x7c8, 0x300, RTL_GIGA_MAC_VER_11 },
29 + */
30
31 /* 8101 family. */
32 { 0x7c8, 0x448, RTL_GIGA_MAC_VER_39 },