summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-24 19:30:01 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-24 19:30:01 +0000
commited4f84a951d6882eb7c5b916ee9ca8985b37d764 (patch)
tree62552ae92eb317ceef5a77abf72d526a780ad4ce /sys/arch/i386/pci
parent0daafabe88f18e24b290cd7c2a8c36a47395f242 (diff)
skip _only_ irq 14 and 15; tested by form@
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r--sys/arch/i386/pci/pci_intr_fixup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/pci/pci_intr_fixup.c b/sys/arch/i386/pci/pci_intr_fixup.c
index 39e916dbff8..30b47f83807 100644
--- a/sys/arch/i386/pci/pci_intr_fixup.c
+++ b/sys/arch/i386/pci/pci_intr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_intr_fixup.c,v 1.31 2004/02/13 13:53:16 mickey Exp $ */
+/* $OpenBSD: pci_intr_fixup.c,v 1.32 2004/02/24 19:30:00 markus Exp $ */
/* $NetBSD: pci_intr_fixup.c,v 1.10 2000/08/10 21:18:27 soda Exp $ */
/*
@@ -642,9 +642,11 @@ pci_intr_header_fixup(pc, tag, ihp)
return 1;
}
- if (irq == 14 || irq == 15)
+ ihp->link = l;
+ if (irq == 14 || irq == 15) {
p = " WARNING: ignored";
- else if (l->irq == I386_PCI_INTERRUPT_LINE_NO_CONNECTION) {
+ ihp->link = NULL;
+ } else if (l->irq == I386_PCI_INTERRUPT_LINE_NO_CONNECTION) {
/* Appropriate interrupt was not found. */
if (pciintr_icu_tag == NULL && ihp->line != 0 &&
@@ -661,7 +663,6 @@ pci_intr_header_fixup(pc, tag, ihp)
p = " fixed up";
ihp->line = l->irq;
- ihp->link = l;
} else {
/* routed by BIOS, but inconsistent */
@@ -669,7 +670,6 @@ pci_intr_header_fixup(pc, tag, ihp)
/* believe PCI IRQ Routing table */
p = " WARNING: overriding";
ihp->line = l->irq;
- ihp->link = l;
#else
/* believe PCI Interrupt Configuration Register (default) */
p = " WARNING: preserving";