summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-02-11 02:57:33 +0000
committernjl <njl@FreeBSD.org>2004-02-11 02:57:33 +0000
commitdfc906ec95fc478c611f5ef93b40dc04b3ecb6e8 (patch)
tree1e5a9e04f9689a3f51b87f749a1f7e18790de29e /sys/dev/acpica/acpivar.h
parente68c7765414386daa6e31258d6c4968061681bb6 (diff)
downloadFreeBSD-src-dfc906ec95fc478c611f5ef93b40dc04b3ecb6e8.zip
FreeBSD-src-dfc906ec95fc478c611f5ef93b40dc04b3ecb6e8.tar.gz
Prefer buttons defined in the AML over the ones in the FADT. Some
systems define power/sleep buttons in both places but only deliver notifies to the ones defined in the AML. Also, reduce length of various function handler names. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 13b7fa5..4b64b07 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -225,10 +225,10 @@ extern ACPI_STATUS acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
#define ACPI_RESOURCE_NEXT(Res) (ACPI_RESOURCE *)((UINT8 *)Res + Res->Length)
/* ACPI event handling */
-extern UINT32 acpi_eventhandler_power_button_for_sleep(void *context);
-extern UINT32 acpi_eventhandler_power_button_for_wakeup(void *context);
-extern UINT32 acpi_eventhandler_sleep_button_for_sleep(void *context);
-extern UINT32 acpi_eventhandler_sleep_button_for_wakeup(void *context);
+extern UINT32 acpi_event_power_button_sleep(void *context);
+extern UINT32 acpi_event_power_button_wake(void *context);
+extern UINT32 acpi_event_sleep_button_sleep(void *context);
+extern UINT32 acpi_event_sleep_button_wake(void *context);
#define ACPI_EVENT_PRI_FIRST 0
#define ACPI_EVENT_PRI_DEFAULT 10000
OpenPOWER on IntegriCloud