linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH v1 0/5] ethernet: dec: tulip: use generic power management
@ 2020-06-22 11:42 Vaibhav Gupta
  2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 1/5] tulip: dmfe: " Vaibhav Gupta
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vaibhav Gupta @ 2020-06-22 11:42 UTC (permalink / raw)
  To: Bjorn Helgaas, Bjorn Helgaas, bjorn, David S. Miller,
	Jakub Kicinski, Vaibhav Gupta
  Cc: linux-parisc, Vaibhav Gupta, netdev, linux-kernel, linux-kernel-mentees

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(-)

-- 
2.27.0

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-24  3:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 11:42 [Linux-kernel-mentees] [PATCH v1 0/5] ethernet: dec: tulip: use generic power management Vaibhav Gupta
2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 1/5] tulip: dmfe: " Vaibhav Gupta
2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 2/5] tulip: windbond-840: " Vaibhav Gupta
2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 3/5] tulip: de2104x: " Vaibhav Gupta
2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 4/5] tulip: tulip_core: " Vaibhav Gupta
2020-06-22 11:42 ` [Linux-kernel-mentees] [PATCH v1 5/5] tulip: uli526x: " Vaibhav Gupta
2020-06-24  3:33 ` [Linux-kernel-mentees] [PATCH v1 0/5] ethernet: dec: tulip: " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).