net: sfp: allow use 2500base-X for 2500base-T modules
Subsystems (4)
PATCH 1/1 net: sfp: allow use 2500base-X for 2500base-T modules
Allow use of 2500base-X interface mode for PHY modules that support 2500base-T.
Signed-off-by Russell King (Oracle) <[email protected]>
--- drivers/net/phy/sfp-bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/phy/sfp-bus.c +2 -1
@@ -373,7 +373,8 @@ phy_interface_t sfp_select_interface(struct sfp_bus *bus, if (phylink_test(link_modes, 5000baseT_Full))return PHY_INTERFACE_MODE_5GBASER ; - if (phylink_test(link_modes, 2500baseX_Full)) + if (phylink_test(link_modes, 2500baseX_Full) || + phylink_test(link_modes, 2500baseT_Full))return PHY_INTERFACE_MODE_2500BASEX ; if (phylink_test(link_modes, 1000baseT_Half) ||
Signature · 1 line
2.30.2
Quoted 2 lines
Allow use of 2500base-X interface mode for PHY modules that support 2500base-T.
Reviewed-by Daniel Machon <[email protected]>
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 7 lines · On Sun, 28 Apr 2024 15:51:07 +0100 you wrote:
Allow use of 2500base-X interface mode for PHY modules that support 2500base-T.
Signed-off-by Russell King (Oracle) <[email protected]>--- drivers/net/phy/sfp-bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Here is the summary with links:
- [net-next] net: sfp: allow use 2500base-X for 2500base-T modules
https://git.kernel.org/netdev/net-next/c/8a3163b6714b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html