Should check debug.acpi.avoid, not .disable.

This commit is contained in:
msmith 2001-09-07 03:54:37 +00:00
parent 2939396e31
commit cb3e386fb2

View File

@ -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));