Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: sfp: add quirk for FS SFP-10GM-T copper SFP+ module

Add quirk for a copper SFP that identifies itself as "FS" "SFP-10GM-T".
It uses RollBall protocol to talk to the PHY and needs 4 sec wait before
probing the PHY.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Link: https://patch.msgid.link/20250227071058.1520027-1-ms@dev.tdt.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Martin Schiller and committed by
Jakub Kicinski
05ec5c08 60d75052

+6 -5
+6 -5
drivers/net/phy/sfp.c
··· 385 385 sfp->phy_t_retry = msecs_to_jiffies(1000); 386 386 } 387 387 388 - static void sfp_fixup_fs_2_5gt(struct sfp *sfp) 388 + static void sfp_fixup_rollball_wait4s(struct sfp *sfp) 389 389 { 390 390 sfp_fixup_rollball(sfp); 391 391 ··· 399 399 static void sfp_fixup_fs_10gt(struct sfp *sfp) 400 400 { 401 401 sfp_fixup_10gbaset_30m(sfp); 402 - sfp_fixup_fs_2_5gt(sfp); 402 + sfp_fixup_rollball_wait4s(sfp); 403 403 } 404 404 405 405 static void sfp_fixup_halny_gsfp(struct sfp *sfp) ··· 479 479 // PHY. 480 480 SFP_QUIRK_F("FS", "SFP-10G-T", sfp_fixup_fs_10gt), 481 481 482 - // Fiberstore SFP-2.5G-T uses Rollball protocol to talk to the PHY and 483 - // needs 4 sec wait before probing the PHY. 484 - SFP_QUIRK_F("FS", "SFP-2.5G-T", sfp_fixup_fs_2_5gt), 482 + // Fiberstore SFP-2.5G-T and SFP-10GM-T uses Rollball protocol to talk 483 + // to the PHY and needs 4 sec wait before probing the PHY. 484 + SFP_QUIRK_F("FS", "SFP-2.5G-T", sfp_fixup_rollball_wait4s), 485 + SFP_QUIRK_F("FS", "SFP-10GM-T", sfp_fixup_rollball_wait4s), 485 486 486 487 // Fiberstore GPON-ONU-34-20BI can operate at 2500base-X, but report 1.2GBd 487 488 // NRZ in their EEPROM