net: sfp: add quirk for FS's 2.5G copper SFP
authorRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Mon, 25 Sep 2023 08:00:59 +0000 (13:30 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Oct 2023 10:56:48 +0000 (12:56 +0200)
commite27aca3760c08b7b05aea71068bd609aa93e7b35
tree19037522ffdd4acc51854f6664e403741a0526a9
parentf25e621f5d4c423fa7217afbddd427007b0e0ec0
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>
drivers/net/phy/sfp.c