diff mbox series

[net-next,V1] net: sfp: add quirk for FS's 2.5G copper SFP

Message ID 20230925080059.266240-1-Raju.Lakkaraju@microchip.com (mailing list archive)
State Accepted
Commit e27aca3760c08b7b05aea71068bd609aa93e7b35
Delegated to: Netdev Maintainers
Headers show
Series [net-next,V1] net: sfp: add quirk for FS's 2.5G copper SFP | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1340 this patch: 1340
netdev/cc_maintainers warning 4 maintainers not CCed: andrew@lunn.ch edumazet@google.com pabeni@redhat.com kuba@kernel.org
netdev/build_clang success Errors and warnings before: 1363 this patch: 1363
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1363 this patch: 1363
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 9 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Raju Lakkaraju - I30499 Sept. 25, 2023, 8 a.m. UTC
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>
---

Change List:
============
V0 -> V1:
  - As per review comments, removed FS's DAC10 cable changes
    (i.e. [PATCH net-next 2/2] net: sfp: add quirk for FS's DAC10G SFP
(SFPP-PC01))

 drivers/net/phy/sfp.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 3, 2023, 11 a.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 25 Sep 2023 13:30:59 +0530 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [net-next,V1] net: sfp: add quirk for FS's 2.5G copper SFP
    https://git.kernel.org/netdev/net-next/c/e27aca3760c0

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 4ecfac227865..297d7ce3e7d0 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -463,6 +463,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),