Skip to contentSkip to conversation

net: sfp: add quirk for OEM SFP+ONU-XGSPON

PATCH Applied Romit Sagu 2 participants 2 messages Nov 6 – Nov 11

Subsystems (4)
lore
Share & tools
lore

Romit Sagu

author
#0 lore raw

PATCH v2 1/1 net: sfp: add quirk for OEM SFP+ONU-XGSPON

This XGS-PON ONU stick (vendor OEM, part SFP+ONU-XGSPON) needs the same handling as other Potron-based modules. Without it, the module fails to connect and the kernal shows these errors:
sfp sfp1: module transmit fault indicated
sfp sfp1: module persistently indicates fault, disabling

This module requires TX_FAULT/LOS behaviour and boot delay tuning. Add a quirk using the existing sfp_fixup_potron.

---
v2:
- Move the new quirk to be better sorted alphabetically within the OEM section and next to another XGS-PON ONT (requested by Jakub Kicinski)
- Added LOS in the quirk comment (recommended by Sashiko)

v1: https://lore.kernel.org/all/[email protected]/

---
 drivers/net/phy/sfp.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/phy/sfp.c +4 -0
index 85e57a16bb52..915156743701 100644
@@ -638,6 +638,10 @@ static const struct sfp_quirk sfp_quirks[] = {
 	SFP_QUIRK_F("OEM", "RTSFP-10", sfp_fixup_rollball_cc),
 	SFP_QUIRK_F("OEM", "RTSFP-10G", sfp_fixup_rollball_cc),
 
+	// OEM SFP+ONU-XGSPON is a XGS-PON ONT stick with broken TX_FAULT and
+	// LOS indicators and slow startup, just like potron.
+	SFP_QUIRK_F("OEM", "SFP+ONU-XGSPON", sfp_fixup_potron),
+
 	// OEM XGSPONST2001 is an XGS-PON ONT stick with broken TX_FAULT and
 	// LOS indicators and slow startup, just like potron. On cold
 	// power-up the EEPROM vendor PN field reads back with non-printable
Signature · 1 line
2.43.0
#1 lore raw
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 10 lines · On Fri, 6 Nov 2026 22:18:29 +0000 you wrote:

This XGS-PON ONU stick (vendor OEM, part SFP+ONU-XGSPON) needs the same handling as other Potron-based modules. Without it, the module fails to connect and the kernal shows these errors:
sfp sfp1: module transmit fault indicated
sfp sfp1: module persistently indicates fault, disabling

This module requires TX_FAULT/LOS behaviour and boot delay tuning. Add a quirk using the existing sfp_fixup_potron.

[...]

Here is the summary with links:
- [net-next,v2] net: sfp: add quirk for OEM SFP+ONU-XGSPON

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

You are awesome, thank you!

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