summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-19 19:17:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-19 19:17:31 +0000
commit6ffc97ca5bbfd227c58b312f42dd1675553ec0e9 (patch)
treed7261790664b7009b7f64a86219290202b4e9d11 /sys/dev
parent98182c22350e05340ee87e13186fbae1319c3dd2 (diff)
sigh, amd64 still uses that stupid acpi_enabled variable...
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index bf1533fa408..f6d7d40856c 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.104 2007/11/19 19:13:11 deraadt Exp $ */
+/* $OpenBSD: acpi.c,v 1.105 2007/11/19 19:17:30 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -43,6 +43,7 @@
#ifdef ACPI_DEBUG
int acpi_debug = 16;
#endif
+int acpi_enabled;
int acpi_poll_enabled;
int acpi_hasprocfvs;
@@ -471,6 +472,8 @@ acpi_attach(struct device *parent, struct device *self, void *aux)
else
sc->sc_facs = (struct acpi_facs *)handle.va;
+ acpi_enabled = 1;
+
/* Create opcode hashtable */
aml_hashopcodes();