mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init
@ 2006-12-09  9:51 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2006-12-09  9:51 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton
  Cc: linux-net, Linux Kernel Development, Kars de Jong, Geert Uytterhoeven

From: Kars de Jong <jongk@linux-m68k.org>

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>

---
 drivers/net/apne.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-m68k-2.6.19.orig/drivers/net/apne.c
+++ linux-m68k-2.6.19/drivers/net/apne.c
@@ -311,9 +311,10 @@ static int __init apne_probe1(struct net
 #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++) {

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-09  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-09  9:51 [PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®