patch-1.3.70 linux/drivers/net/sunlance.c

Next file: linux/drivers/net/tulip.c
Previous file: linux/drivers/net/smc-ultra.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/drivers/net/sunlance.c linux/drivers/net/sunlance.c
@@ -459,7 +459,7 @@
 }
 
 static void
-lance_interrupt (int irq, struct pt_regs *regs)
+lance_interrupt (int irq, void *dev_id, struct pt_regs *regs)
 {
     struct device *dev = (struct device *) (irq2dev_map [irq]);
     struct lance_private *lp;
@@ -517,7 +517,7 @@
     ll->rap = LE_CSR0;
     ll->rdp = LE_C0_STOP;
 
-    if (request_irq (dev->irq, &lance_interrupt, 0, "LANCE")){
+    if (request_irq (dev->irq, &lance_interrupt, 0, "LANCE", NULL)){
 	printk ("Lance: Can't get irq %d\n", dev->irq);
 	return -EAGAIN;
     }
@@ -569,7 +569,7 @@
     ll->rap = LE_CSR0;
     ll->rdp = LE_C0_STOP;
 
-    free_irq (dev->irq);
+    free_irq (dev->irq, NULL);
     irq2dev_map [dev->irq] = NULL;
     
     return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this