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, Nov 11, 4:25 PM
Unknown Object (File)
Mon, Nov 10, 9:03 PM
Unknown Object (File)
Fri, Nov 7, 10:06 PM
Unknown Object (File)
Thu, Nov 6, 12:07 AM
Unknown Object (File)
Sat, Nov 1, 10:38 PM
Unknown Object (File)
Mon, Oct 27, 4:42 PM
Unknown Object (File)
Mon, Oct 27, 4:56 AM
Unknown Object (File)
Wed, Oct 22, 6:22 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62778
Build 59662: arc lint + arc unit

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