]> 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)
commit0c63562cae22d577ffccaf646a0ef6af6cc3786d
tree22af8cb6dcdc6bdf10d69bdbac25e46adbc03bd3
parenta74538553218c179d727997270b66aa6ec147785
parentbc9ce7e1c2e6bfaf7885dbded54b9eb1ebc480f7
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>