]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:31:27 +0000 (16:31 +0100)
[ Upstream commit 71cfa7c893a05d09e7dc14713b27a8309fd4a2db ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/sfp.c

index f1827a1bd7a596edf5e44bcbeeb35d69e8c1715b..964aad00dc87cdc45f9411185097fb05448a98cf 100644 (file)
@@ -491,6 +491,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),