Skip to content

Commit

Permalink
[PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kars de Jong authored and Linus Torvalds committed Dec 9, 2006
1 parent bf8af91 commit d8a53b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/apne.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit d8a53b3

Please sign in to comment.