diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2004-04-16 18:54:05 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2004-04-16 18:54:05 +0000 |
| commit | 86f4fd6f7141f058cfda5ebbd8d95a1e5a8e9165 (patch) | |
| tree | bc759e7c363526f099911cdf7fdbab270f29eec8 | |
| parent | 0f9537839b6c1186ba7f9d21fb5245d798602163 (diff) | |
Notes
| -rw-r--r-- | sys/i386/pci/pci_pir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index ea924a87960bf..f1f80cd4e9c71 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -315,9 +315,10 @@ pci_pir_initial_irqs(struct PIR_entry *entry, struct PIR_intpin *intpin, if (irq == PCI_INVALID_IRQ) return; if (pci_pir_valid_irq(pci_link, irq)) { - if (pci_link->pl_irq == PCI_INVALID_IRQ) + if (pci_link->pl_irq == PCI_INVALID_IRQ) { pci_link->pl_irq = irq; - else if (pci_link->pl_irq != irq) + pci_link->pl_routed = 1; + } else if (pci_link->pl_irq != irq) printf( "$PIR: BIOS IRQ %d for %d.%d.INT%c does not match link %#x irq %d\n", irq, entry->pe_bus, entry->pe_device, pin + 'A', |
