* [PATCH net-next] net: sfp: add quirk for Lantech 8330-265D
@ 2026-01-28 17:00 Marek Behún
2026-01-30 4:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2026-01-28 17:00 UTC (permalink / raw)
To: netdev, Russell King
Cc: Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller,
Heiner Kallweit, Andrew Lunn, Marek Behún
Similar to Lantech 8330-262D-E, the Lantech 8330-265D also reports
2500MBd instead of 3125MBd.
Also, all 8330-265D report normal RX_LOS in EEPROM, but some signal
inverted RX_LOS. We therefore need to ignore RX_LOS on these modules.
Signed-off-by: Marek Behún <kabel@kernel.org>
---
drivers/net/phy/sfp.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 47f095bd91ce..4746a8af3a8d 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -530,9 +530,13 @@ static const struct sfp_quirk sfp_quirks[] = {
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
sfp_fixup_ignore_tx_fault),
- // Lantech 8330-262D-E can operate at 2500base-X, but incorrectly report
- // 2500MBd NRZ in their EEPROM
+ // Lantech 8330-262D-E and 8330-265D can operate at 2500base-X, but
+ // incorrectly report 2500MBd NRZ in their EEPROM.
+ // Some 8330-265D modules have inverted LOS, while all of them report
+ // normal LOS in EEPROM. Therefore we need to ignore LOS entirely.
SFP_QUIRK_S("Lantech", "8330-262D-E", sfp_quirk_2500basex),
+ SFP_QUIRK("Lantech", "8330-265D", sfp_quirk_2500basex,
+ sfp_fixup_ignore_los),
SFP_QUIRK_S("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
--
2.52.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH net-next] net: sfp: add quirk for Lantech 8330-265D
2026-01-28 17:00 [PATCH net-next] net: sfp: add quirk for Lantech 8330-265D Marek Behún
@ 2026-01-30 4:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-30 4:00 UTC (permalink / raw)
To: =?utf-8?q?Marek_Beh=C3=BAn_=3Ckabel=40kernel=2Eorg=3E?=
Cc: netdev, linux, pabeni, kuba, edumazet, davem, hkallweit1, andrew
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 28 Jan 2026 18:00:44 +0100 you wrote:
> Similar to Lantech 8330-262D-E, the Lantech 8330-265D also reports
> 2500MBd instead of 3125MBd.
>
> Also, all 8330-265D report normal RX_LOS in EEPROM, but some signal
> inverted RX_LOS. We therefore need to ignore RX_LOS on these modules.
>
> Signed-off-by: Marek Behún <kabel@kernel.org>
>
> [...]
Here is the summary with links:
- [net-next] net: sfp: add quirk for Lantech 8330-265D
https://git.kernel.org/netdev/net-next/c/86a8e8e0ddbc
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-01-30 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28 17:00 [PATCH net-next] net: sfp: add quirk for Lantech 8330-265D Marek Behún
2026-01-30 4:00 ` 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