Skip to content

ethernet: dec: tulip: use generic power management

Vaibhav Gupta linux-kernel-mentees linux-parisc lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tulip: dmfe: use generic power managementdrivers/net/ethernet/dec/tulip/dmfe.c+9 -400 replies
2/5tulip: windbond-840: use generic power managementdrivers/net/ethernet/dec/tulip/winbond-840.c+8 -180 replies
3/5tulip: de2104x: use generic power managementdrivers/net/ethernet/dec/tulip/de2104x.c+8 -170 replies
4/5tulip: tulip_core: use generic power managementdrivers/net/ethernet/dec/tulip/tulip_core.c+12 -390 replies
5/5tulip: uli526x: use generic power managementdrivers/net/ethernet/dec/tulip/uli526x.c+8 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/5] ethernet: dec: tulip: use generic power management

Linux Kernel Mentee: Remove Legacy Power Management.

The purpose of this patch series is to remove legacy power management callbacks and invocation of PCI helper functions, from tulip ethernet drivers.

With legacy PM, drivers themselves are responsible for handling the device's power states. And they do this with the help of PCI helper functions like pci_enable/disable_device(), pci_set/restore_state(), pci_set_powr_state(), etc. which is not recommended.

In generic PM, all the required tasks are handled by PCI core and drivers need to perform device-specific operations only.

All patches are compile-tested only.

Vaibhav Gupta (5):
tulip: dmfe: use generic power management
tulip: windbond-840: use generic power management
tulip: de2104x: use generic power management
tulip: tulip_core: use generic power management
tulip: uli526x: use generic power management

 drivers/net/ethernet/dec/tulip/de2104x.c     | 25 +++-------
 drivers/net/ethernet/dec/tulip/dmfe.c        | 49 ++++---------------
 drivers/net/ethernet/dec/tulip/tulip_core.c  | 51 +++++---------------
 drivers/net/ethernet/dec/tulip/uli526x.c     | 48 +++---------------
 drivers/net/ethernet/dec/tulip/winbond-840.c | 26 +++-------
 5 files changed, 45 insertions(+), 154 deletions(-)
Signature · 1 line
2.27.0