diff options
author | Kars de Jong <jongk@linux-m68k.org> | 2006-12-09 12:51:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-09 20:41:18 +0300 |
commit | d8a53b358257625778387925165eaa97839b2f52 (patch) | |
tree | 7df1d94fe94ac6a6d2a669ec2b1b39e309a966e4 /drivers/net/apne.c | |
parent | bf8af91bcd8aadad4933a51c1219ea35e1ae0d77 (diff) | |
download | linux-d8a53b358257625778387925165eaa97839b2f52.tar.xz |
[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>
Diffstat (limited to 'drivers/net/apne.c')
-rw-r--r-- | drivers/net/apne.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/apne.c b/drivers/net/apne.c index d4e408169073..954191119d35 100644 --- a/drivers/net/apne.c +++ b/drivers/net/apne.c @@ -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++) { |