]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: sfp: extend Potron XGSPON quirk to cover additional EEPROM variant
authorMarcus Hughes <marcus.hughes@betterinternet.ltd>
Sun, 7 Dec 2025 21:03:55 +0000 (21:03 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Dec 2025 09:25:14 +0000 (01:25 -0800)
Some Potron SFP+ XGSPON ONU sticks are shipped with different EEPROM
vendor ID and vendor name strings, but are otherwise functionally
identical to the existing "Potron SFP+ XGSPON ONU Stick" handled by
sfp_quirk_potron().

These modules, including units distributed under the "Better Internet"
branding, use the same UART pin assignment and require the same
TX_FAULT/LOS behaviour and boot delay. Re-use the existing Potron
quirk for this EEPROM variant.

Signed-off-by: Marcus Hughes <marcus.hughes@betterinternet.ltd>
Link: https://patch.msgid.link/20251207210355.333451-1-marcus.hughes@betterinternet.ltd
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c

index 0401fa6b24d25747452ce26c8ef4a8a95c02dcac..6166e91963644d4e6c2cf012d329d41a44530ccb 100644 (file)
@@ -497,6 +497,8 @@ static const struct sfp_quirk sfp_quirks[] = {
        SFP_QUIRK("ALCATELLUCENT", "3FE46541AA", sfp_quirk_2500basex,
                  sfp_fixup_nokia),
 
+       SFP_QUIRK_F("BIDB", "X-ONU-SFPP", sfp_fixup_potron),
+
        // FLYPRO SFP-10GT-CS-30M uses Rollball protocol to talk to the PHY.
        SFP_QUIRK_F("FLYPRO", "SFP-10GT-CS-30M", sfp_fixup_rollball),