]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ethernet-dec-tulip-use-generic-power-management'
authorDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:33:15 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:33:15 +0000 (20:33 -0700)
commit526a14b12181702af758a7aca37f00b833249ce2
tree22af8cb6dcdc6bdf10d69bdbac25e46adbc03bd3
parentd2afcc00193c7f99b81b29cb911619b68ba25032
parent35e7f5527b7c4bfbd0d7efd456ea533d59eaf1b4
Merge branch 'ethernet-dec-tulip-use-generic-power-management'

Vaibhav Gupta says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>