summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-08-30 11:11:07 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-08-30 11:11:07 +0000
commit605d09c7f9581052248752fa4c3e1ff632c8c490 (patch)
tree7ff9ccec9967bb4e7ebd3deaf402ab1030e0b4b7 /sys/boot/i386
parent8679677c5205b9d84ffb81181aca3a1945d032e2 (diff)
downloadFreeBSD-src-605d09c7f9581052248752fa4c3e1ff632c8c490.zip
FreeBSD-src-605d09c7f9581052248752fa4c3e1ff632c8c490.tar.gz
s/hint.acpi.0.disable/hint.acpi.0.disabled/
Fix device hints entry for disabling acpi(4). This also should fix the arbitration with apm(4) when both drivers are enabled. Note that your /boot/device.hints needs to be updated if you want to stop auto-loading acpi.ko or disable acpi(4).
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/libi386/i386_module.c2
-rw-r--r--sys/boot/i386/loader/help.i3862
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/i386_module.c b/sys/boot/i386/libi386/i386_module.c
index 5c29aee..f879727 100644
--- a/sys/boot/i386/libi386/i386_module.c
+++ b/sys/boot/i386/libi386/i386_module.c
@@ -49,7 +49,7 @@ i386_autoload(void)
/* autoload ACPI support */
/* XXX should be in 4th keyed off acpi_load */
- if ((getenv("acpi_load") && !getenv("hint.acpi.0.disable"))) {
+ if ((getenv("acpi_load") && !getenv("hint.acpi.0.disabled"))) {
error = mod_load("acpi", NULL, 0, NULL);
if (error != 0)
printf("ACPI autoload failed - %s\n", strerror(error));
diff --git a/sys/boot/i386/loader/help.i386 b/sys/boot/i386/loader/help.i386
index f9a4076..16e0fd3 100644
--- a/sys/boot/i386/loader/help.i386
+++ b/sys/boot/i386/loader/help.i386
@@ -7,7 +7,7 @@
unset acpi_load
- $hint.acpi.0.disable="1"
+ $hint.acpi.0.disabled="1"
If set, the ACPI module won't be loaded.
OpenPOWER on IntegriCloud