linux/drivers/net/dsa
Oleksij Rempel 77c819cb49 net: dsa: microchip: Refactor switch shutdown routine for WoL preparation
Centralize the switch shutdown routine in a dedicated function,
ksz_switch_shutdown(), to enhance code maintainability and reduce
redundancy. This change abstracts the common shutdown operations
previously duplicated in ksz9477_i2c_shutdown() and ksz_spi_shutdown().

This refactoring is a preparatory step for an upcoming patch to avoid
reset on shutdown if Wake-on-LAN (WoL) is enabled.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20231026051051.2316937-5-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-27 14:43:53 -07:00
..
b53 net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
hirschmann
microchip net: dsa: microchip: Refactor switch shutdown routine for WoL preparation 2023-10-27 14:43:53 -07:00
mv88e6xxx net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
ocelot net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
qca net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
realtek net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
sja1105 net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
xrs700x net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
bcm_sf2.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
bcm_sf2.h net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
bcm_sf2_cfp.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
bcm_sf2_regs.h
dsa_loop.c
dsa_loop.h
dsa_loop_bdinfo.c
Kconfig
lan9303-core.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
lan9303.h
lan9303_i2c.c
lan9303_mdio.c
lantiq_gswip.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
lantiq_pce.h
Makefile
mt7530-mdio.c
mt7530-mmio.c
mt7530.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
mt7530.h
mv88e6060.c
mv88e6060.h
rzn1_a5psw.c
rzn1_a5psw.h
vitesse-vsc73xx-core.c net: dsa: vsc73xx: replace deprecated strncpy with ethtool_sprintf 2023-10-13 16:28:35 -07:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h