HomeFreeBSD

pci: Add helper routines to manage PME in device drivers

Description

pci: Add helper routines to manage PME in device drivers

pci_has_pm is a quick check that returns true if a PCI device supports
the power management capability.

pci_enable_pme can be used in DEVICE_SUSPEND driver methods to enable
PME# during suspend.

Reviewed by: Krzysztof Galazka <krzysztof.galazka@intel.com>x
Differential Revision: https://reviews.freebsd.org/D49250

Details

Provenance
jhbAuthored on Thu, Mar 27, 8:53 PM
Differential Revision
D49250: pci: Add helper routines to manage PME in device drivers
Parents
rG82d692771239: pci: Clear active PME# and disable PME# generation
Branches
Unknown
Tags
Unknown