[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240423090025.29231-1-kabel@kernel.org>
Date: Tue, 23 Apr 2024 11:00:25 +0200
From: Marek Behún <kabel@...nel.org>
To: netdev@...r.kernel.org,
Russell King <rmk+kernel@...linux.org.uk>
Cc: Daniel Golle <daniel@...rotopia.org>,
Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Josef Schlehofer <pepe.schlehofer@...il.com>,
Marek Behún <kabel@...nel.org>
Subject: [PATCH net-next] net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module
From: Daniel Golle <daniel@...rotopia.org>
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 <pepe.schlehofer@...il.com>
Signed-off-by: Daniel Golle <daniel@...rotopia.org>
[ rebased on top of net-next ]
Signed-off-by: Marek Behún <kabel@...nel.org>
---
drivers/net/phy/sfp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 7d063cd3c6af..3f9cbd797fd6 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -509,6 +509,9 @@ static const struct sfp_quirk sfp_quirks[] = {
SFP_QUIRK_F("Walsun", "HXSX-ATRC-1", sfp_fixup_fs_10gt),
SFP_QUIRK_F("Walsun", "HXSX-ATRI-1", sfp_fixup_fs_10gt),
+ // OEM SFP-GE-T is a 1000Base-T module with broken TX_FAULT indicator
+ SFP_QUIRK_F("OEM", "SFP-GE-T", sfp_fixup_ignore_tx_fault),
+
SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc),
SFP_QUIRK_M("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
SFP_QUIRK_F("OEM", "RTSFP-10", sfp_fixup_rollball_cc),
--
2.43.2
Powered by blists - more mailing lists