Don't auto load ACPI -- it causes trouble with my laptop and is TOTALLY

undocumented how to control its loading and queries to freebsd-current
go unanswered.
This commit is contained in:
David E. O'Brien 2002-08-09 05:21:01 +00:00
parent ecfbf7e46d
commit 438b0be9fa

View File

@ -47,13 +47,5 @@ i386_autoload(void)
/* XXX use PnP to locate stuff here */
/* autoload ACPI support */
/* XXX should be in 4th keyed off acpi_load */
if ((getenv("acpi_load") && !getenv("hint.acpi.0.disable"))) {
error = mod_load("acpi", NULL, 0, NULL);
if (error != 0)
printf("ACPI autoload failed - %s\n", strerror(error));
}
return(0);
}