aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscon/syscon_power.c
Commit message (Collapse)AuthorAgeFilesLines
* syscon_power: do reboot after shutdown_panic is executedAndriy Gapon2024-02-181-1/+3
| | | | | | | | | | A syscon_power instance can handle either poweroff or reboot, but not both. If the instance handles reboot then set its priority to be after shutdown_panic. This is to provide uniform experience with other platforms. MFC after: 3 weeks
* syscon: Move syscon code in dev/sysconEmmanuel Vadot2024-01-101-0/+193
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name. Reviewed by: mhorne Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43196