summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpivar.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-05 22:58:43 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-05 22:58:43 +0000
commit4462cf04475be7561faae0c4f4342d74e5322a7b (patch)
tree09181ccbdfb9b9ef60520ce2f327b86c2f81897f /sys/dev/acpi/acpivar.h
parent4622d990fc75f94b0b2afec537ee2a43d4843914 (diff)
Find SLP_TYPx values and store them for future use in
acpi_enter_sleep_state().
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r--sys/dev/acpi/acpivar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index 77cc08a83ed..ea8b0949ce9 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivar.h,v 1.9 2005/12/30 05:59:40 tedu Exp $ */
+/* $OpenBSD: acpivar.h,v 1.10 2006/01/05 22:58:42 grange Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -125,6 +125,11 @@ struct acpi_softc {
int sc_sleepbtn;
struct acpi_parsestate amlpc;
+
+ struct {
+ int slp_typa;
+ int slp_typb;
+ } sc_sleeptype[5];
};
struct acpi_table {