1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Interpret new loader tunable "hw.acpi.verbose" to turn

verbose mode on at boot time.
This commit is contained in:
Mitsuru IWASAKI 2002-10-31 20:23:41 +00:00
parent 97af632bcb
commit 498d464fe9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106261

View File

@ -314,7 +314,7 @@ acpi_attach(device_t dev)
ACPI_STATUS status;
int error;
UINT32 flags;
char *env;
#ifdef ACPI_DEBUGGER
char *debugpoint;
#endif
@ -431,7 +431,11 @@ acpi_attach(device_t dev)
sc->acpi_s4bios = 1;
if (bootverbose)
sc->acpi_verbose = 1;
if ((env = getenv("hw.acpi.verbose")) && strcmp(env, "0")) {
sc->acpi_verbose = 1;
freeenv(env);
}
/*
* Dispatch the default sleep state to devices.
* TBD: should be configured from userland policy manager.