linux/drivers/net/ethernet/intel/e1000
Vaibhav Gupta eb6779d4c5 e1000: use generic power management
With legacy PM hooks, it was the responsibility of a driver to manage PCI
states and also the device's power state. The generic approach is to let PCI
core handle the work.

e1000_suspend() calls __e1000_shutdown() to perform intermediate tasks.
__e1000_shutdown() modifies the value of "wake" (device should be wakeup
enabled or not), responsible for controlling the flow of legacy PM.

Since, PCI core has no idea about the value of "wake", new code for generic
PM may produce unexpected results. Thus, use "device_set_wakeup_enable()"
to wakeup-enable the device accordingly.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-06-16 15:38:11 -07:00
..
e1000_ethtool.c net: e1000: reject unsupported coalescing params 2020-03-12 11:32:36 -07:00
e1000_hw.c e1000: Fix typo in the comment 2020-05-28 20:36:41 -07:00
e1000_hw.h
e1000_main.c e1000: use generic power management 2020-06-16 15:38:11 -07:00
e1000_osdep.h
e1000_param.c
e1000.h PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
Makefile