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

This commit is contained in:
Mike Smith 2001-09-07 03:54:37 +00:00
parent 2dc56b8071
commit b525621aed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83183

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