patch-1.3.70 linux/drivers/net/arcnet.c
Next file: linux/drivers/net/at1700.c
Previous file: linux/drivers/net/apricot.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Mar 1 07:50:43 1996
- Orig file:
v1.3.69/linux/drivers/net/arcnet.c
- Orig date:
Fri Feb 16 11:34:07 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -590,7 +590,7 @@
char *data,int length,int daddr,int exceptA);
static int arcnet_go_tx(struct device *dev,int enable_irq);
-static void arcnet_interrupt(int irq,struct pt_regs *regs);
+static void arcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs);
static void arcnet_inthandler(struct device *dev);
static void arcnet_rx(struct device *dev,int recbuf);
@@ -1023,7 +1023,7 @@
dev->base_addr=port;
/* reserve the irq */
- irqval = request_irq(airq,&arcnet_interrupt,0,"arcnet");
+ irqval = request_irq(airq,&arcnet_interrupt,0,"arcnet",NULL);
if (irqval)
{
BUGMSG(D_NORMAL,"unable to get IRQ %d (irqval=%d).\n",
@@ -1820,7 +1820,7 @@
* as well.
*/
static void
-arcnet_interrupt(int irq,struct pt_regs *regs)
+arcnet_interrupt(int irq,void *dev_id,struct pt_regs *regs)
{
struct device *dev = (struct device *)(irq2dev_map[irq]);
int ioaddr;
@@ -3252,7 +3252,7 @@
if (thiscard.irq)
{
- free_irq(thiscard.irq);
+ free_irq(thiscard.irq,NULL);
/* very important! */
irq2dev_map[thiscard.irq] = NULL;
}
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