Skip to contentSkip to conversation

r8169: add support for extended chip version id and RTL9151AS

PATCH Applied Heiner Kallweit 3 participants 3 messages Jan 24 – Jan 27

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH 1/1 r8169: add support for extended chip version id and RTL9151AS

From: Javen Xu <[email protected]>

The bits in register TxConfig used for chip identification aren't sufficient for the number of upcoming chip versions. Therefore a register is added with extended chip version information, for compatibility purposes it's called TX_CONFIG_V2. First chip to use the extended chip identification is RTL9151AS.

[[email protected]: add support for extended XID where XID is printed]
---
 drivers/net/ethernet/realtek/r8169.h      |  3 +-
 drivers/net/ethernet/realtek/r8169_main.c | 45 +++++++++++++++++++----
 2 files changed, 39 insertions(+), 9 deletions(-)
drivers/net/ethernet/realtek/r8169.h +2 -1
index 2c1a0c21af8..aed4cf85209 100644
@@ -72,7 +72,8 @@ enum mac_version {
 	RTL_GIGA_MAC_VER_70,
 	RTL_GIGA_MAC_VER_80,
 	RTL_GIGA_MAC_NONE,
-	RTL_GIGA_MAC_VER_LAST = RTL_GIGA_MAC_NONE - 1
+	RTL_GIGA_MAC_VER_LAST = RTL_GIGA_MAC_NONE - 1,
+	RTL_GIGA_MAC_VER_EXTENDED
 };
 
 struct rtl8169_private;
drivers/net/ethernet/realtek/r8169_main.c +37 -8

103 lines not on this page · raw message

Signature · 1 line
2.52.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Heiner Kallweit

From: Javen Xu <[email protected]>

The bits in register TxConfig used for chip identification aren't sufficient for the number of upcoming chip versions. Therefore a register is added with extended chip version information, for compatibility purposes it's called TX_CONFIG_V2. First chip to use the extended chip identification is RTL9151AS.

[[email protected]: add support for extended XID where XID is printed]
#2 lore raw
In reply to Heiner Kallweit
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 9 lines · On Sat, 24 Jan 2026 22:27:24 +0100 you wrote:

From: Javen Xu <[email protected]>

The bits in register TxConfig used for chip identification aren't sufficient for the number of upcoming chip versions. Therefore a register is added with extended chip version information, for compatibility purposes it's called TX_CONFIG_V2. First chip to use the extended chip identification is RTL9151AS.

[...]

Here is the summary with links:
- [net-next] r8169: add support for extended chip version id and RTL9151AS

    https://git.kernel.org/netdev/net-next/c/5e3c5a2b85da

You are awesome, thank you!

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