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

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

diff -u --recursive --new-file v1.3.69/linux/drivers/net/wavelan.c linux/drivers/net/wavelan.c
@@ -77,7 +77,7 @@
 static int		wavelan_probe1(device *, unsigned short);
 static int		wavelan_open(device *);
 static int		wavelan_send_packet(struct sk_buff *, device *);
-static void		wavelan_interrupt(int, struct pt_regs *);
+static void		wavelan_interrupt(int, void *, struct pt_regs *);
 static int		wavelan_close(device *);
 static en_stats		*wavelan_get_stats(device *);
 static void		wavelan_set_multicast_list(device *);
@@ -1240,7 +1240,7 @@
 		||
 		(irq2dev_map[dev->irq] = dev) == (device *)0
 		||
-		request_irq(dev->irq, &wavelan_interrupt, 0, "WaveLAN") != 0
+		request_irq(dev->irq, &wavelan_interrupt, 0, "WaveLAN", NULL) != 0
 	)
 	{
 		irq2dev_map[dev->irq] = (device *)0;
@@ -1259,7 +1259,7 @@
 
 	if (r == -1)
 	{
-		free_irq(dev->irq);
+		free_irq(dev->irq, NULL);
 		irq2dev_map[dev->irq] = (device *)0;
 		if (wavelan_debug > 0)
 			printk("%s: <-wavelan_open(): -EAGAIN(2)\n", dev->name);
@@ -1856,7 +1856,7 @@
 
 static
 void
-wavelan_interrupt(int irq, struct pt_regs *regs)
+wavelan_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 {
 	device		*dev;
 	unsigned short	ioaddr;
@@ -1984,7 +1984,7 @@
 
 	wavelan_ints_off(dev);
 
-	free_irq(dev->irq);
+	free_irq(dev->irq, NULL);
 	irq2dev_map[dev->irq] = (device *)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