* [PATCH net-next v2] net: dsa: lan9303: add LAX9303 dev id
@ 2026-11-25 18:56 A. Sverdlin
2026-12-02 3:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: A. Sverdlin @ 2026-11-25 18:56 UTC (permalink / raw)
To: netdev
Cc: Lukas Stockmann, Andrew Lunn, Vladimir Oltean, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Alexander Sverdlin
From: Lukas Stockmann <lukas.stockmann@siemens.com>
LAX9303, automotive version of LAN9303, does return 0x9E04
instead of 0x9303. Add this as a new LAX9303_CHIP_ID.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Lukas Stockmann <lukas.stockmann@siemens.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
Changelog:
v2:
- "insted" -> "instead"
v1:
- https://lore.kernel.org/all/20261124151221.2480934-1-alexander.sverdlin@siemens.com/
drivers/net/dsa/lan9303-core.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c
index 8eeb8953ff24e..17189bda07c8b 100644
--- a/drivers/net/dsa/lan9303-core.c
+++ b/drivers/net/dsa/lan9303-core.c
@@ -27,6 +27,7 @@
*/
#define LAN9303_CHIP_REV 0x14
# define LAN9303_CHIP_ID 0x9303
+# define LAX9303_CHIP_ID 0x9E04
# define LAN9352_CHIP_ID 0x9352
# define LAN9353_CHIP_ID 0x9353
# define LAN9354_CHIP_ID 0x9354
@@ -903,7 +904,8 @@ static int lan9303_check_device(struct lan9303 *chip)
}
if (((reg >> 16) != LAN9303_CHIP_ID) &&
- ((reg >> 16) != LAN9354_CHIP_ID)) {
+ ((reg >> 16) != LAN9354_CHIP_ID) &&
+ ((reg >> 16) != LAX9303_CHIP_ID)) {
dev_err(chip->dev, "unexpected device found: LAN%4.4X\n",
reg >> 16);
return -ENODEV;
--
2.56.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v2] net: dsa: lan9303: add LAX9303 dev id
2026-11-25 18:56 [PATCH net-next v2] net: dsa: lan9303: add LAX9303 dev id A. Sverdlin
@ 2026-12-02 3:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-12-02 3:10 UTC (permalink / raw)
To: A. Sverdlin
Cc: netdev, lukas.stockmann, andrew, olteanv, davem, edumazet, kuba,
pabeni
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Wed, 25 Nov 2026 19:56:22 +0100 you wrote:
> From: Lukas Stockmann <lukas.stockmann@siemens.com>
>
> LAX9303, automotive version of LAN9303, does return 0x9E04
> instead of 0x9303. Add this as a new LAX9303_CHIP_ID.
>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Lukas Stockmann <lukas.stockmann@siemens.com>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
>
> [...]
Here is the summary with links:
- [net-next,v2] net: dsa: lan9303: add LAX9303 dev id
https://git.kernel.org/netdev/net-next/c/d251bb5b9056
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-02 3:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 18:56 [PATCH net-next v2] net: dsa: lan9303: add LAX9303 dev id A. Sverdlin
2026-12-02 3:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox