Page MenuHomeFreeBSD

power: Rename sleep types
ClosedPublic

Authored by obiwac on May 10 2026, 12:21 PM.
Tags
None
Referenced Files
F163293647: D56920.id177535.diff
Tue, Jul 21, 7:37 PM
F163282968: D56920.id.diff
Tue, Jul 21, 5:34 PM
F163271792: D56920.id177595.diff
Tue, Jul 21, 3:21 PM
Unknown Object (File)
Sun, Jul 19, 4:22 PM
Unknown Object (File)
Wed, Jul 15, 7:21 AM
Unknown Object (File)
Wed, Jul 15, 7:21 AM
Unknown Object (File)
Tue, Jul 7, 7:56 PM
Unknown Object (File)
Sun, Jul 5, 7:32 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 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.