Skip to contentSkip to conversation

r8169: disable detection of further chip versions that didn't make it to the mass market

PATCH Applied Heiner Kallweit 2 participants 7 messages Nov 15, 2021 – Nov 26, 2021

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

cover r8169: disable detection of further chip versions that didn't make it to the mass market

There's no sign of life from further chip versions. Seems they didn't make it to the mass market. Let's disable detection and if nobody complains remove support a few kernel versions later.

Heiner Kallweit (3):
r8169: disable detection of chip versions 49 and 50
r8169: disable detection of chip version 45
r8169: disable detection of chip version 41

 drivers/net/ethernet/realtek/r8169_main.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
Signature · 1 line
2.33.1
author maintainer
#1 lore raw

PATCH 1/3 r8169: disable detection of chip versions 49 and 50

It seems these chip versions never made it to the wild. Therefore disable detection and if nobody complains remove support completely later.

---
 drivers/net/ethernet/realtek/r8169_main.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +5 -2
index 6e46397f0..3033f1222 100644
@@ -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 },
Signature · 1 line
2.33.1
author maintainer
#2 lore raw

PATCH 2/3 r8169: disable detection of chip version 45

In reply to Heiner Kallweit

It seems this chip version never made it to the wild. Therefore disable detection and if nobody complains remove support completely later.

---
 drivers/net/ethernet/realtek/r8169_main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +4 -1
index 3033f1222..c4dda39e4 100644
@@ -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 },
Signature · 1 line
2.33.1
author maintainer
#3 lore raw

PATCH 3/3 r8169: disable detection of chip version 41

In reply to Heiner Kallweit

It seems this chip version never made it to the wild. Therefore disable detection and if nobody complains remove support completely later.

---
 drivers/net/ethernet/realtek/r8169_main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +4 -1
index c4dda39e4..303b61a2b 100644
@@ -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 },
-		{ 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. */
Signature · 1 line
2.33.1
#4 lore raw
In reply to Heiner Kallweit
This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Mon, 15 Nov 2021 21:50:11 +0100 you wrote:

There's no sign of life from further chip versions. Seems they didn't make it to the mass market. Let's disable detection and if nobody complains remove support a few kernel versions later.

Heiner Kallweit (3):
r8169: disable detection of chip versions 49 and 50
r8169: disable detection of chip version 45
r8169: disable detection of chip version 41

[...]

Here is the summary with links:
- [net-next,1/3] r8169: disable detection of chip versions 49 and 50

    https://git.kernel.org/netdev/net-next/c/2d6600c754f8
  - [net-next,2/3] r8169: disable detection of chip version 45
    https://git.kernel.org/netdev/net-next/c/6c8a5cf97c3f
  - [net-next,3/3] r8169: disable detection of chip version 41
    https://git.kernel.org/netdev/net-next/c/364ef1f37857

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
author maintainer
#5 lore raw

PATCH 1/1 r8169: disable detection of chip version 60

In reply to Heiner Kallweit

It seems only XID 609 made it to the mass market. Therefore let's disable detection of the other RTL8125a XID's. If nobody complains we can remove support for RTL_GIGA_MAC_VER_60 later.

---
 drivers/net/ethernet/realtek/r8169_main.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +5 -2
index e9b560051..76a029860 100644
@@ -1969,8 +1969,11 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
 		{ 0x7cf, 0x641,	RTL_GIGA_MAC_VER_63 },
 
 		/* 8125A family. */
-		{ 0x7cf, 0x608,	RTL_GIGA_MAC_VER_60 },
-		{ 0x7c8, 0x608,	RTL_GIGA_MAC_VER_61 },
+		{ 0x7cf, 0x609,	RTL_GIGA_MAC_VER_61 },
+		/* It seems only XID 609 made it to the mass market.
+		 * { 0x7cf, 0x608,	RTL_GIGA_MAC_VER_60 },
+		 * { 0x7c8, 0x608,	RTL_GIGA_MAC_VER_61 },
+		 */
 
 		/* RTL8117 */
 		{ 0x7cf, 0x54b,	RTL_GIGA_MAC_VER_53 },
Signature · 1 line
2.34.0
#6 lore raw

Re: [PATCH net-next] r8169: disable detection of chip version 60

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 24 Nov 2021 21:44:40 +0100 you wrote:

It seems only XID 609 made it to the mass market. Therefore let's disable detection of the other RTL8125a XID's. If nobody complains we can remove support for RTL_GIGA_MAC_VER_60 later.

---
 drivers/net/ethernet/realtek/r8169_main.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Here is the summary with links:
- [net-next] r8169: disable detection of chip version 60

    https://git.kernel.org/netdev/net-next/c/4e9c91cf92ec

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html