patch-1.3.70 linux/drivers/net/apricot.c
Next file: linux/drivers/net/arcnet.c
Previous file: linux/drivers/net/ac3200.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Fri Mar 1 07:50:42 1996
- Orig file:
v1.3.69/linux/drivers/net/apricot.c
- Orig date:
Wed Dec 27 09:12:13 1995
diff -u --recursive --new-file v1.3.69/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -183,7 +183,7 @@
static int i596_open(struct device *dev);
static int i596_start_xmit(struct sk_buff *skb, struct device *dev);
-static void i596_interrupt(int irq, struct pt_regs *regs);
+static void i596_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static int i596_close(struct device *dev);
static struct enet_statistics *i596_get_stats(struct device *dev);
static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd);
@@ -537,7 +537,7 @@
if (i596_debug > 1)
printk("%s: i596_open() irq %d.\n", dev->name, dev->irq);
- if (request_irq(dev->irq, &i596_interrupt, 0, "apricot"))
+ if (request_irq(dev->irq, &i596_interrupt, 0, "apricot", NULL))
return -EAGAIN;
irq2dev_map[dev->irq] = dev;
@@ -549,7 +549,7 @@
if (i < 4)
{
- free_irq(dev->irq);
+ free_irq(dev->irq, NULL);
irq2dev_map[dev->irq] = 0;
return -EAGAIN;
}
@@ -743,7 +743,7 @@
}
static void
-i596_interrupt(int irq, struct pt_regs *regs)
+i596_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
struct device *dev = (struct device *)(irq2dev_map[irq]);
struct i596_private *lp;
@@ -934,7 +934,7 @@
dev->name, lp->scb.status, lp->scb.command);
break;
}
- free_irq(dev->irq);
+ free_irq(dev->irq, NULL);
irq2dev_map[dev->irq] = 0;
remove_rx_bufs(dev);
MOD_DEC_USE_COUNT;
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