diff options
author | peter <peter@FreeBSD.org> | 2003-04-30 22:02:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-04-30 22:02:39 +0000 |
commit | 47e12d9503a5bdb95811dc7295bf5f8f3bb94155 (patch) | |
tree | 8c39e1b104c04189fe26ed299bba07db47a6d1bc | |
parent | a2b7260f7d58670581d01616b5054f809cc9ff92 (diff) | |
download | FreeBSD-src-47e12d9503a5bdb95811dc7295bf5f8f3bb94155.zip FreeBSD-src-47e12d9503a5bdb95811dc7295bf5f8f3bb94155.tar.gz |
ACPI will always be present on AMD64 - it will never be an autodetect
module.
-rw-r--r-- | sys/boot/i386/libi386/i386_module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/i386_module.c b/sys/boot/i386/libi386/i386_module.c index a7f5d56..a640a41 100644 --- a/sys/boot/i386/libi386/i386_module.c +++ b/sys/boot/i386/libi386/i386_module.c @@ -50,6 +50,9 @@ i386_autoload(void) /* XXX use PnP to locate stuff here */ /* autoload ACPI support */ + if (file_findfile(NULL, "elf64 kernel") != NULL) + return (0); /* ACPI is mandatory */ + /* XXX should be in 4th keyed off acpi_load */ disabled = 0; rv = getenv("hint.acpi.0.disabled"); |