Page MenuHomeFreeBSD

power: Rename sleep types
ClosedPublic

Authored by obiwac on May 10 2026, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 2, 6:54 PM
Unknown Object (File)
Thu, Aug 27, 12:58 PM
Unknown Object (File)
Wed, Aug 26, 2:43 AM
Unknown Object (File)
Fri, Aug 14, 8:44 PM
Unknown Object (File)
Wed, Aug 12, 9:08 PM
Unknown Object (File)
Sun, Aug 9, 5:06 PM
Unknown Object (File)
Sat, Aug 8, 6:47 PM
Unknown Object (File)
Sat, Aug 8, 6:28 PM

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 72965
Build 69848: 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.