Skip to content

Commit 2f037b2

Browse files
dangowrtBKPepe
authored andcommitted
net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module
[ Upstream commit 0805d67 ] Add quirk for ATS SFP-GE-T 1000Base-TX module. This copper module comes with broken TX_FAULT indicator which must be ignored for it to work. Co-authored-by: Josef Schlehofer <[email protected]> Signed-off-by: Daniel Golle <[email protected]> [ rebased on top of net-next ] Signed-off-by: Marek Behún <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent fa85b01 commit 2f037b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/phy/sfp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ static const struct sfp_quirk sfp_quirks[] = {
482482
SFP_QUIRK_F("Walsun", "HXSX-ATRC-1", sfp_fixup_fs_10gt),
483483
SFP_QUIRK_F("Walsun", "HXSX-ATRI-1", sfp_fixup_fs_10gt),
484484

485+
// OEM SFP-GE-T is a 1000Base-T module with broken TX_FAULT indicator
486+
SFP_QUIRK_F("OEM", "SFP-GE-T", sfp_fixup_ignore_tx_fault),
487+
485488
SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc),
486489
SFP_QUIRK_M("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
487490
SFP_QUIRK_F("OEM", "RTSFP-10", sfp_fixup_rollball_cc),

0 commit comments

Comments
 (0)