summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-06-04 21:10:15 +0000
committerjhb <jhb@FreeBSD.org>2003-06-04 21:10:15 +0000
commit86cdf9a3b31bd723d7e54b2e6d59a8b626fca65b (patch)
treedc55dfa4ab6c3c25e795a426305fb066c78dddde
parent3be7bee315fcc67ca8e66e9f825136ec90a1e279 (diff)
downloadFreeBSD-src-86cdf9a3b31bd723d7e54b2e6d59a8b626fca65b.zip
FreeBSD-src-86cdf9a3b31bd723d7e54b2e6d59a8b626fca65b.tar.gz
Batton down the hatches!!!
Always route PCI interrupts on i386 UP machines. I was planning to enable this for i386 anyways once SMP support is done. Having this enabled fixes problems on many people's laptops. Requested by: imp
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index c849d27..41412f0 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -798,7 +798,7 @@ pci_add_resources(device_t pcib, device_t dev)
}
if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
-#ifdef __ia64__
+#if defined(__ia64__) || (defined(__i386__) && !defined(SMP))
/*
* Re-route interrupts on ia64 so that we can get the
* I/O SAPIC interrupt numbers (the BIOS leaves legacy
OpenPOWER on IntegriCloud