summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-09-06 17:02:01 +0000
committerjhb <jhb@FreeBSD.org>2002-09-06 17:02:01 +0000
commit5ccfdeb4e4334a93312571a6568811292286ea4f (patch)
tree0b1c41f873c867bc9db6943381ce11b0ea6049ff /sys/i386/acpica
parent9b8609f2b44728e9081f32fa9014fcdc5d15b3ea (diff)
downloadFreeBSD-src-5ccfdeb4e4334a93312571a6568811292286ea4f.zip
FreeBSD-src-5ccfdeb4e4334a93312571a6568811292286ea4f.tar.gz
If we are using APIC_IO tell ACPI so it can route interrupts properly.
This still doesn't work quite right because of other APIC_IO hacks in the i386 PCI code.
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r--sys/i386/acpica/acpi_machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c
index 228c4b7..76e2e92 100644
--- a/sys/i386/acpica/acpi_machdep.c
+++ b/sys/i386/acpica/acpi_machdep.c
@@ -330,6 +330,9 @@ acpi_machdep_init(device_t dev)
acpi_install_wakeup_handler(sc);
+#ifdef APIC_IO
+ acpi_SetIntrModel(ACPI_INTR_APIC);
+#endif
return (0);
}
OpenPOWER on IntegriCloud