net: pcs: pcs-mtk-lynxi: report in-band capability for 2500Base-X
Subsystems (5)
Daniel Golle
maintainerPATCH 1/1 net: pcs: pcs-mtk-lynxi: report in-band capability for 2500Base-X
It turns out that 2500Base-X actually works fine with in-band status on MediaTek's LynxI PCS -- I wrongly concluded it didn't because it is broken in all the copper SFP modules and GPON sticks I used for testing.
Hence report LINK_INBAND_ENABLE also for 2500Base-X mode.
This reverts most of commit a003c38d9bbb ("net: pcs: pcs-mtk-lynxi:
correctly report in-band status capabilities").
The removal of the QSGMII interface mode was correct and is left untouched.
--- drivers/net/pcs/pcs-mtk-lynxi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/pcs/pcs-mtk-lynxi.c +1 -3
@@ -93,12 +93,10 @@ static unsigned int mtk_pcs_lynxi_inband_caps(struct phylink_pcs *pcs, {switch (interface) {case PHY_INTERFACE_MODE_1000BASEX : +case PHY_INTERFACE_MODE_2500BASEX :case PHY_INTERFACE_MODE_SGMII :return LINK_INBAND_DISABLE |LINK_INBAND_ENABLE ; -case PHY_INTERFACE_MODE_2500BASEX : -return LINK_INBAND_DISABLE ; -default :return 0 ; }
Signature · 1 line
2.52.0
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Wed, 21 Jan 2026 02:23:17 +0000 you wrote:
It turns out that 2500Base-X actually works fine with in-band status on MediaTek's LynxI PCS -- I wrongly concluded it didn't because it is broken in all the copper SFP modules and GPON sticks I used for testing.
Hence report
LINK_INBAND_ENABLEalso for 2500Base-X mode.This reverts most of commit
a003c38d9bbb("net: pcs: pcs-mtk-lynxi:
correctly report in-band status capabilities").[...]
Here is the summary with links:
- [net] net: pcs: pcs-mtk-lynxi: report in-band capability for 2500Base-X
https://git.kernel.org/netdev/net/c/e8ca461f7d19
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html