diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-12-23 17:43:19 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-12-23 17:43:19 +0000 |
commit | 656d7d1ab438ccedccc0b55f7dc1b1d0bf3875ec (patch) | |
tree | a3d4012a5e22cc4615a764f532ab22d80c1078b6 /sys/arch/i386/pci | |
parent | ec3fad8a16518e41cd2ebfa4a1abe91b04e2901d (diff) |
Allow an i386 MP kernel to build without pcibios. miod@ ok
-#if NPCIBIOS > 0
+#if (NPCIBIOS > 0) || (NIOAPIC > 0)
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pci_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c index 4ccb6f0e296..8b2e8c79fde 100644 --- a/sys/arch/i386/pci/pci_machdep.c +++ b/sys/arch/i386/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.25 2004/06/13 21:49:16 niklas Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.26 2004/12/23 17:43:18 aaron Exp $ */ /* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */ /*- @@ -420,7 +420,7 @@ pci_intr_map(pa, ihp) int bus, dev, func; #endif -#if NPCIBIOS > 0 +#if (NPCIBIOS > 0) || (NIOAPIC > 0) pci_chipset_tag_t pc = pa->pa_pc; pcitag_t intrtag = pa->pa_intrtag; #endif |