]> www.infradead.org Git - users/griffoul/linux.git/commitdiff
net: sfp: add quirk for FLYPRO copper SFP+ module
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 31 Aug 2025 10:59:07 +0000 (12:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Sep 2025 21:04:16 +0000 (14:04 -0700)
Add quirk for a copper SFP that identifies itself as "FLYPRO"
"SFP-10GT-CS-30M". It uses RollBall protocol to talk to the PHY.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20250831105910.3174-1-olek2@wp.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c

index 5347c95d1e772b323148c88d56fd16e4236dab22..4cd1d6c51dc2a0cdfec738deea6c2bb2fab648ba 100644 (file)
@@ -492,6 +492,9 @@ static const struct sfp_quirk sfp_quirks[] = {
        SFP_QUIRK("ALCATELLUCENT", "3FE46541AA", sfp_quirk_2500basex,
                  sfp_fixup_nokia),
 
+       // FLYPRO SFP-10GT-CS-30M uses Rollball protocol to talk to the PHY.
+       SFP_QUIRK_F("FLYPRO", "SFP-10GT-CS-30M", sfp_fixup_rollball),
+
        // Fiberstore SFP-10G-T doesn't identify as copper, uses the Rollball
        // protocol to talk to the PHY and needs 4 sec wait before probing the
        // PHY.