summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-03 06:58:48 +0000
committerpeter <peter@FreeBSD.org>2003-12-03 06:58:48 +0000
commit5f7b345732fc0e2e25895c4b897016457e71c096 (patch)
treee456c7052f2039ff3a9e57272a851e41e655ad01 /sys/amd64/acpica
parent976bb368f632aecb3df41d286354c57f38921b00 (diff)
downloadFreeBSD-src-5f7b345732fc0e2e25895c4b897016457e71c096.zip
FreeBSD-src-5f7b345732fc0e2e25895c4b897016457e71c096.tar.gz
Add an additional knob to just disable the apic code without also having
to resort to disabling acpi as well. I'll document this in the release notes for amd64. Approved by: re (scottl)
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r--sys/amd64/acpica/madt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/acpica/madt.c b/sys/amd64/acpica/madt.c
index 71be5ba..3406590 100644
--- a/sys/amd64/acpica/madt.c
+++ b/sys/amd64/acpica/madt.c
@@ -190,7 +190,7 @@ madt_probe(void)
XSDT_DESCRIPTOR *xsdt;
int i, count;
- if (resource_disabled("acpi", 0))
+ if (resource_disabled("acpi", 0) || resource_disabled("apic", 0))
return (ENXIO);
/*
OpenPOWER on IntegriCloud