diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-07 21:59:57 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-07 21:59:57 +0000 |
commit | 24045c13b8d422963215a4ce18f6f73f29ff6e3f (patch) | |
tree | cd9b8aed133dc34c088f1293f46b23805c7bbfda /arch/mips64 | |
parent | ff3529cb1ff747a8d3694a3f86eb7de66d498fae (diff) |
Erase all traces of the ioc3-eth driver irq hacks.
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-pci.c b/arch/mips64/sgi-ip27/ip27-pci.c index 66fa27b19..599d3d6f7 100644 --- a/arch/mips64/sgi-ip27/ip27-pci.c +++ b/arch/mips64/sgi-ip27/ip27-pci.c @@ -199,10 +199,11 @@ pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) if (irqstore[dev->bus->number][slot]) return(irqstore[dev->bus->number][slot]); else { - lastirq++; /* IOC3_ETH_INT hack */ irq_to_bus[lastirq] = dev->bus->number; irq_to_slot[lastirq] = slot; - return(irqstore[dev->bus->number][slot] = lastirq); + irqstore[dev->bus->number][slot] = lastirq; + lastirq++; + return (lastirq - 1); } } |