linux/drivers/net/ethernet/freescale
Michael Walle da2c6bcc5e net: dpaa: fix mode setting
Before converting to the phylink interface, the init function would have
set a non-reserved I/F mode in the maccfg2 register. After converting to
phylink, 0 is written as mode, which is a reserved value (although it's
the hardware default). Without a valid mode, a SGMII link is never
established between the MAC and the PHY and thus .link_up() is never
called which could set the correct mode according to the actual speed.

Fix it by setting the maximum speed of the phy_interface_t in use in
.mac_config() - just like the driver did before the phylink conversion.

Fixes: 5d93cfcf73 ("net: dpaa: Convert to phylink")
Suggested-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20260717132401.2653252-1-mwalle@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-07-22 12:45:40 -07:00
..
dpaa Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
dpaa2 dpaa2-eth: put MAC endpoint device on disconnect 2026-07-21 12:23:04 +02:00
enetc Split <linux/mod_devicetable.h> in per subsystem headers 2026-07-02 20:54:26 -10:00
fman net: dpaa: fix mode setting 2026-07-22 12:45:40 -07:00
fs_enet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-02-26 10:23:00 -08:00
fec_main.c net: fec: remove reference to nonexistent CONFIG_GILBARCONAP option 2026-06-11 15:25:58 -07:00
fec_mpc52xx_phy.c net: fec_mpc52xx_phy: Add missing MODULE_DESCRIPTION() 2026-06-01 19:25:24 -07:00
fec_mpc52xx.c net: fec_mpc52xx: add missing kernel-doc for @may_sleep 2026-06-02 14:25:41 -07:00
fec_mpc52xx.h
fec_ptp.c net: fec: fix the PTP periodic output sysfs interface 2026-03-26 20:10:15 -07:00
fec.h net: fec: add AF_XDP zero-copy support 2026-02-10 10:58:20 +01:00
fsl_pq_mdio.c net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe 2025-10-06 11:22:40 -07:00
gianfar_ethtool.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gianfar.c net: gianfar: dispose irq mappings on probe failure and device removal 2026-06-30 12:19:07 +02:00
gianfar.h eth: gfar: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:42 +01:00
Kconfig net: fec: make FIXED_PHY dependency unconditional 2026-04-03 14:39:37 -07:00
Makefile dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n 2026-03-14 13:33:03 -07:00
ucc_geth_ethtool.c net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
ucc_geth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-02-26 10:23:00 -08:00
ucc_geth.h net: freescale: ucc_geth: remove unused PHY_INIT_TIMEOUT and PHY_CHANGE_TIME 2025-02-11 16:34:58 -08:00
xgmac_mdio.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00