linux_dsm_epyc7002/drivers/net/ethernet/intel/igbvf
Vaibhav Gupta e9c971bdab igbvf: use generic power management
Remove legacy PM callbacks and use generic operations. With legacy code,
drivers were responsible for handling PCI PM operations like
pci_save_state(). In generic code, all these are handled by PCI core.

The generic suspend() and resume() are called at the same point the legacy
ones were called. Thus, it does not affect the normal functioning of the
driver.

__maybe_unused attribute is used with .resume() but not with .suspend(), as
.suspend() is called by .shutdown().

Compile-tested only.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2020-07-30 08:36:08 -07:00
..
defines.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ethtool.c net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
igbvf.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
mbx.c igbvf: Replace spin_is_locked() with lockdep 2018-11-07 09:47:00 -08:00
mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
netdev.c igbvf: use generic power management 2020-07-30 08:36:08 -07:00
regs.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
vf.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00