From 83cfac9d70cbc502c763f6ef259fb18f9d27081f Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Thu, 24 Sep 2026 12:48:18 +0200 Subject: [PATCH] net: phy: mxl-gpy: add 2.5G for MXL86211C The MXL86211C also supports 2.5G via 2500BASEX, switch the config init to indicate support for that mode. Datasheet checks indicate that the 2.5G speed indication is the same between GPY211 & MXL86211C. The same should be true for MXL86252 & MXL86282, those are not modified for a lack of testing hardware. With this change 2.5G negotiates correctly with a Mikrotik CRS310-8G+2S+IN. Reviewed-by: Andrew Lunn Signed-off-by: Rouven Czerwinski Link: https://patch.msgid.link/20260924-mainline-rouven-mxl2g5-v2-1-fc8367a4c3ad@linaro.org Signed-off-by: Jakub Kicinski --- drivers/net/phy/mxl-gpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/mxl-gpy.c b/drivers/net/phy/mxl-gpy.c index 0da2d4e9d854..089a1a9e5bc6 100644 --- a/drivers/net/phy/mxl-gpy.c +++ b/drivers/net/phy/mxl-gpy.c @@ -1405,7 +1405,7 @@ static struct phy_driver gpy_drivers[] = { PHY_ID_MATCH_MODEL(PHY_ID_MXL86211C), .name = "Maxlinear Ethernet MxL86211C", .get_features = genphy_c45_pma_read_abilities, - .config_init = gpy_config_init, + .config_init = gpy21x_config_init, .probe = gpy_probe, .inband_caps = gpy_inband_caps, .config_inband = gpy_config_inband,