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
F154600405: D49250.id152768.diff
Wed, Apr 29, 12:27 AM
F154598515: D49250.id152768.diff
Wed, Apr 29, 12:24 AM
F154590430: D49250.id151931.diff
Wed, Apr 29, 12:04 AM
F154589420: D49250.id151931.diff
Wed, Apr 29, 12:01 AM
Unknown Object (File)
Tue, Apr 28, 6:17 PM
Unknown Object (File)
Sun, Apr 19, 6:11 PM
Unknown Object (File)
Sun, Apr 19, 6:11 PM
Unknown Object (File)
Sun, Apr 19, 12:26 AM
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