diff options
author | Josua Mayer <josua@solid-run.com> | 2023-05-22 17:52:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-23 20:34:22 -0700 |
commit | ac2e8e3cfe48439a2403b3d616fb654db313e362 (patch) | |
tree | 680578017a070e6600799272a4cef48c91b880c5 | |
parent | b2e3406a38f0f48b1dfb81e5bb73d243ff6af179 (diff) | |
download | linux-stable-ac2e8e3cfe48439a2403b3d616fb654db313e362.tar.gz linux-stable-ac2e8e3cfe48439a2403b3d616fb654db313e362.tar.bz2 linux-stable-ac2e8e3cfe48439a2403b3d616fb654db313e362.zip |
net: sfp: add support for HXSX-ATRI-1 copper SFP+ module
Walsun offers commercial ("C") and industrial ("I") variants of
multi-rate copper SFP+ modules.
Add quirk for HXSX-ATRI-1 using same parameters as the already supported
commercial variant HXSX-ATRC-1.
Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20230522145242.30192-2-josua@solid-run.com/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/phy/sfp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index 7ddebf38ef3d..d855a18308d7 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -469,9 +469,10 @@ static const struct sfp_quirk sfp_quirks[] = { SFP_QUIRK_M("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant), - // Walsun HXSX-ATRC-1 doesn't identify as copper, and uses the + // Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the // Rollball protocol to talk to the PHY. SFP_QUIRK_F("Walsun", "HXSX-ATRC-1", sfp_fixup_fs_10gt), + SFP_QUIRK_F("Walsun", "HXSX-ATRI-1", sfp_fixup_fs_10gt), SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc), SFP_QUIRK_M("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g), |