[SPARC64]: INO is never fully specified already on SUN4V.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-02-14 14:12:44 -08:00
parent 4a07e646c5
commit e7093703d9

View File

@ -703,16 +703,18 @@ static void __init pdev_fixup_irq(struct pci_dev *pdev)
return; return;
} }
/* Fully specified already? */ if (tlb_type != hypervisor) {
if (((prom_irq & PCI_IRQ_IGN) >> 6) == portid) { /* Fully specified already? */
pdev->irq = p->irq_build(pbm, pdev, prom_irq); if (((prom_irq & PCI_IRQ_IGN) >> 6) == portid) {
goto have_irq; pdev->irq = p->irq_build(pbm, pdev, prom_irq);
} goto have_irq;
}
/* An onboard device? (bit 5 set) */ /* An onboard device? (bit 5 set) */
if ((prom_irq & PCI_IRQ_INO) & 0x20) { if ((prom_irq & PCI_IRQ_INO) & 0x20) {
pdev->irq = p->irq_build(pbm, pdev, (portid << 6 | prom_irq)); pdev->irq = p->irq_build(pbm, pdev, (portid << 6 | prom_irq));
goto have_irq; goto have_irq;
}
} }
/* Can we find a matching entry in the interrupt-map? */ /* Can we find a matching entry in the interrupt-map? */