diff options
author | Raju Lakkaraju <Raju.Lakkaraju@microchip.com> | 2023-09-25 13:30:59 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-10-03 12:56:48 +0200 |
commit | e27aca3760c08b7b05aea71068bd609aa93e7b35 (patch) | |
tree | 19037522ffdd4acc51854f6664e403741a0526a9 | |
parent | f25e621f5d4c423fa7217afbddd427007b0e0ec0 (diff) | |
download | lwn-e27aca3760c08b7b05aea71068bd609aa93e7b35.tar.gz lwn-e27aca3760c08b7b05aea71068bd609aa93e7b35.zip |
net: sfp: add quirk for FS's 2.5G copper SFP
Add a quirk for a copper SFP that identifies itself as "FS" "SFP-2.5G-T".
This module's PHY is inaccessible, and can only run at 2500base-X with the
host without negotiation. Add a quirk to enable the 2500base-X interface mode
with 2500base-T support and disable auto negotiation.
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Link: https://lore.kernel.org/r/20230925080059.266240-1-Raju.Lakkaraju@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r-- | drivers/net/phy/sfp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index a50038a45250..3679a43f4eb0 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -468,6 +468,9 @@ static const struct sfp_quirk sfp_quirks[] = { SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex, sfp_fixup_ignore_tx_fault), + // FS 2.5G Base-T + SFP_QUIRK_M("FS", "SFP-2.5G-T", sfp_quirk_oem_2_5g), + // Lantech 8330-262D-E can operate at 2500base-X, but incorrectly report // 2500MBd NRZ in their EEPROM SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex), |