]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: sparx5: skip low-speed configuration when port is RGMII
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 20 Dec 2024 13:48:43 +0000 (14:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 23 Dec 2024 18:57:54 +0000 (10:57 -0800)
commitd9450934f915a97b09f035866acd5da302f0dc12
treed7efad6441b915de437e943863965fdf2c2deb7f
parent05bda8a1bdedd5dfc21522d732c3bf9413d70eb3
net: sparx5: skip low-speed configuration when port is RGMII

When doing a port config, we configure low-speed port devices, among
other things. We have a check to ensure, that the device is indeed a
low-speed device, an not a high-speed device. Add an additional check,
to ensure that the device is not an RGMII device.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Tested-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241220-sparx5-lan969x-switch-driver-4-v5-4-fa8ba5dff732@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_port.c