[PATCH net-next 0/9] net: stmmac: improbe suspend/resume architecture
Russell King (Oracle)
linux at armlinux.org.uk
Mon Aug 11 11:50:58 PDT 2025
Hi,
This series improves the stmmac suspend/resume architecture by
providing a couple of method hooks in struct plat_stmmacenet_data which
are called by core code, and thus are available for any of the
platform glue drivers, whether using a platform or PCI device.
As these methods are called by core code, we can also provide a simple
PM ops structure also in the core code for converted glue drivers to
use.
The remainder of the patches convert the various drivers.
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 74 ++++++++++------------
.../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 73 ++++++++++-----------
.../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 10 +--
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 58 ++++++++---------
drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 68 +++++++-------------
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 12 ++++
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 73 ++++++++++-----------
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 64 +++++++------------
include/linux/stmmac.h | 2 +
10 files changed, 195 insertions(+), 241 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
More information about the Linux-mediatek
mailing list