summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-05-27 18:38:45 +0000
committernjl <njl@FreeBSD.org>2004-05-27 18:38:45 +0000
commitfa603e929d266049001b489b9a22e7a556d4b6e0 (patch)
tree1817b677583b861f1119c6cedba1d7db92c18e9a /usr.sbin/apm
parent7db6667914bd21b54582207e0030bc1c2231f37e (diff)
downloadFreeBSD-src-fa603e929d266049001b489b9a22e7a556d4b6e0.zip
FreeBSD-src-fa603e929d266049001b489b9a22e7a556d4b6e0.tar.gz
Restructure the wake GPE API. Now there are three functions:
acpi_wake_init: Evaluate _PRW and set the GPE type acpi_wake_set_enable: Enable or disable a device's GPE. acpi_wake_sleep_prep: Perform any last-minute changes to the device to prepare it for entering the given sleep state. Also, walk the entire namespace when transitioning to a sleep state, disabling any GPEs which aren't appropriate for the given state. Transition acpi_lid and acpi_button to the new API. This clears the way for non-ACPI-aware devices to wake the system (i.e. modems) and fixes a problem where systems power up after shutdown when a GPE is triggered.
Diffstat (limited to 'usr.sbin/apm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud