diff options
author | Nate Lawson <njl@FreeBSD.org> | 2003-08-08 03:19:22 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2003-08-08 03:19:22 +0000 |
commit | bf0c18ec43e15dddd3fafd37d253c7afbf6dd507 (patch) | |
tree | 425bdf35052ab1e9b485291274250f6aa80bdc24 /sys/dev/acpica/acpi.c | |
parent | 7fbff95c04423910bdc657a7a8000b43c869c9a9 (diff) | |
download | src-bf0c18ec43e15dddd3fafd37d253c7afbf6dd507.tar.gz src-bf0c18ec43e15dddd3fafd37d253c7afbf6dd507.zip |
Default to 5 seconds before sleeping to give some machines time to stabilize.
This doesn't break anything on my laptop and some claim it helps them.
Notes
Notes:
svn path=/head/; revision=118642
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index dd33f0c0ae69..ba65e24b8396 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -433,8 +433,13 @@ acpi_attach(device_t dev) SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree), OID_AUTO, "disable_on_poweroff", CTLFLAG_RD | CTLFLAG_RW, &sc->acpi_disable_on_poweroff, 0, "ACPI subsystem disable on poweroff"); + + /* + * Default to 5 seconds before sleeping to give some machines time to + * stabilize. + */ + sc->acpi_sleep_delay = 5; sc->acpi_disable_on_poweroff = 1; - sc->acpi_sleep_delay = 0; sc->acpi_s4bios = 1; if (bootverbose) sc->acpi_verbose = 1; |