mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 08:44:33 +00:00
Should check debug.acpi.avoid, not .disable.
This commit is contained in:
parent
2dc56b8071
commit
b525621aed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83183
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue