Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next] net: sfp: add quirk for TP-LINK SM410U
@ 2026-10-11  0:51 Daniel Golle
  2026-10-11 13:29 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Golle @ 2026-10-11  0:51 UTC (permalink / raw)
  To: Russell King, Andrew Lunn, Heiner Kallweit, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Josef Schlehofer,
	netdev, linux-kernel

The TP-LINK SM410U is a 2.5G copper module which is based on RealTek
RTL8221B, but doesn't seem to offer any way to access the PHY over I2C.
Add a quirk to disable in-band which isn't supported by the PHY.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 drivers/net/phy/sfp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 2b5528ae930d1..a2aaffeb2063d 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -652,6 +652,7 @@ static const struct sfp_quirk sfp_quirks[] = {
 	SFP_QUIRK_F("XikeStor", "SKT-2.5G-100M", sfp_fixup_xikestor_2_5g),
 
 	SFP_QUIRK_S("ZOERAX", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
+	SFP_QUIRK_S("TP-LINK", "TL-SM410U", sfp_quirk_oem_2_5g),
 };
 
 static size_t sfp_strlen(const char *str, size_t maxlen)

-- 
2.56.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-11 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-11  0:51 [PATCH net-next] net: sfp: add quirk for TP-LINK SM410U Daniel Golle
2026-10-11 13:29 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox