Page MenuHomeFreeBSD

power: Rename sleep types
ClosedPublic

Authored by obiwac on May 10 2026, 12:21 PM.
Tags
None
Referenced Files
F164677099: D56920.id177534.diff
Mon, Aug 3, 3:13 AM
Unknown Object (File)
Sat, Aug 1, 7:31 AM
Unknown Object (File)
Sat, Aug 1, 4:49 AM
Unknown Object (File)
Fri, Jul 31, 4:48 AM
Unknown Object (File)
Thu, Jul 30, 7:12 PM
Unknown Object (File)
Wed, Jul 29, 4:46 AM
Unknown Object (File)
Mon, Jul 27, 4:03 PM
Unknown Object (File)
Mon, Jul 27, 6:58 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.