summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-09-07 03:54:37 +0000
committermsmith <msmith@FreeBSD.org>2001-09-07 03:54:37 +0000
commitcb3e386fb281ad7c4dad9e4bd11412ba4adbc768 (patch)
treeaf53ac5a048a273d99b15790eb5ab6a74c3dd277 /sys/dev/acpica/acpi.c
parent2939396e31c39acf83a9ccaf507567a775e0c92f (diff)
downloadFreeBSD-src-cb3e386fb281ad7c4dad9e4bd11412ba4adbc768.zip
FreeBSD-src-cb3e386fb281ad7c4dad9e4bd11412ba4adbc768.tar.gz
Should check debug.acpi.avoid, not .disable.
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index b22eb0a..49c6266 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -350,7 +350,7 @@ acpi_attach(device_t dev)
acpi_EnterDebugger();
#endif
flags = 0;
- if (getenv("debug.acpi.disable") != NULL)
+ if (getenv("debug.acpi.avoid") != NULL)
flags = ACPI_NO_DEVICE_INIT | ACPI_NO_OBJECT_INIT;
if ((status = AcpiEnableSubsystem(flags)) != AE_OK) {
device_printf(dev, "could not enable ACPI: %s\n", AcpiFormatException(status));
OpenPOWER on IntegriCloud