[PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init
Amiga PCMCIA NE2000 Ethernet: Add missing initialization of dev->irq Signed-off-by: Kars de Jong <jongk@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bf8af91bcd
commit
d8a53b3582
|
@ -311,9 +311,10 @@ static int __init apne_probe1(struct net_device *dev, int ioaddr)
|
|||
#endif
|
||||
|
||||
dev->base_addr = ioaddr;
|
||||
dev->irq = IRQ_AMIGA_PORTS;
|
||||
|
||||
/* Install the Interrupt handler */
|
||||
i = request_irq(IRQ_AMIGA_PORTS, apne_interrupt, IRQF_SHARED, DRV_NAME, dev);
|
||||
i = request_irq(dev->irq, apne_interrupt, IRQF_SHARED, DRV_NAME, dev);
|
||||
if (i) return i;
|
||||
|
||||
for(i = 0; i < ETHER_ADDR_LEN; i++) {
|
||||
|
|
Loading…
Reference in New Issue