aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-05-18 20:32:14 +0530
committerDavid S. Miller <davem@davemloft.net>2020-05-19 15:32:24 -0700
commita1eae9f677a694c97c232f8c1b3b826ec68a0c11 (patch)
treef6c0e66295206a2dea3e1deac3c2899c20c72374 /drivers/net/ethernet/intel/igc
parent6ad70c7686d4ad14cbea4f9930037cabea0cdb7a (diff)
realtek/8139cp: use generic power management
compile-tested only With legacy PM hooks, it was the responsibility of a driver to manage PCI states and also device's power state. The generic approach is to let PCI core handle the work. The suspend callback enables/disables PCI wake on the basis of "cp->wol_enabled" variable which is unknown to PCI core. To utilise its need, call device_set_wakeup_enable(). Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions