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

(cherry picked from commit e5cbf0e881fa1851912be77c62aa7ab17f844c3d)

Details

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