Page MenuHomeFreeBSD

power: Rename sleep types
ClosedPublic

Authored by obiwac on May 10 2026, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 10:37 PM
Unknown Object (File)
Thu, Oct 1, 10:34 PM
Unknown Object (File)
Thu, Oct 1, 10:28 PM
Unknown Object (File)
Thu, Oct 1, 9:10 PM
Unknown Object (File)
Thu, Oct 1, 11:02 AM
Unknown Object (File)
Thu, Oct 1, 7:14 AM
Unknown Object (File)
Tue, Sep 29, 10:20 AM
Unknown Object (File)
Wed, Sep 23, 2:09 AM

Details

Summary

Make sleep type names clearer and more consistent, and allow space for
something like "os_hibernate" once that gets added to FreeBSD.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72966
Build 69849: arc lint + arc unit

Event Timeline

Forgot to change this in all the places it's used

Thank you for fixing this!

This revision is now accepted and ready to land.May 11 2026, 6:07 AM
sys/sys/power.h
72

POWER_STYPE_OS_HIBERNATE would go right here, after fw_hibernate

This revision was automatically updated to reflect the committed changes.