Skip to content
  1. Jul 31, 2020
    • Vaibhav Gupta's avatar
      e100: use generic power management · 69a74aef
      Vaibhav Gupta authored
      
      
      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.
      
      e100_suspend() calls __e100_shutdown() to perform intermediate tasks.
      __e100_shutdown() calls pci_save_state() which is not recommended.
      
      e100_suspend() also calls __e100_power_off() which is calling PCI helper
      functions, pci_prepare_to_sleep(), pci_set_power_state(), along with
      pci_wake_from_d3(...,false). Hence, the functin call is removed and wol is
      disabled as earlier using device_wakeup_disable().
      
      Compile-tested only.
      
      Signed-off-by: default avatarVaibhav Gupta <vaibhavgupta40@gmail.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
      69a74aef
  2. Jul 30, 2020
  3. Jul 29, 2020