Page MenuHomeFreeBSD

pci: Add helper routines to manage PME in device drivers
ClosedPublic

Authored by jhb on Mar 5 2025, 9:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 8:25 AM
Unknown Object (File)
Tue, Oct 7, 2:31 AM
Unknown Object (File)
Thu, Oct 2, 6:33 PM
Unknown Object (File)
Wed, Oct 1, 1:44 PM
Unknown Object (File)
Wed, Oct 1, 7:43 AM
Unknown Object (File)
Mon, Sep 29, 9:44 AM
Unknown Object (File)
Thu, Sep 25, 7:58 PM
Unknown Object (File)
Mon, Sep 15, 11:23 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Mar 5 2025, 9:55 PM
jhb created this revision.
jhb retitled this revision from pci: Add a helper routines to manage PME in device drivers to pci: Add helper routines to manage PME in device drivers.
This revision is now accepted and ready to land.Mar 7 2025, 7:42 PM