patch-1.3.70 linux/drivers/net/wd.c
Next file: linux/drivers/net/znet.c
Previous file: linux/drivers/net/wavelan.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Mar 1 07:50:49 1996
- Orig file:
v1.3.69/linux/drivers/net/wd.c
- Orig date:
Wed Dec 13 09:02:46 1995
diff -u --recursive --new-file v1.3.69/linux/drivers/net/wd.c linux/drivers/net/wd.c
@@ -253,7 +253,7 @@
/* Snarf the interrupt now. There's no point in waiting since we cannot
share and the board will usually be enabled. */
- if (request_irq(dev->irq, ei_interrupt, 0, model_name)) {
+ if (request_irq(dev->irq, ei_interrupt, 0, model_name, NULL)) {
printk (" unable to get IRQ %d.\n", dev->irq);
return EAGAIN;
}
@@ -261,7 +261,7 @@
/* Allocate dev->priv and fill in 8390 specific dev fields. */
if (ethdev_init(dev)) {
printk (" unable to get memory for dev->priv.\n");
- free_irq(dev->irq);
+ free_irq(dev->irq, NULL);
return -ENOMEM;
}
@@ -493,7 +493,7 @@
int ioaddr = dev->base_addr - WD_NIC_OFFSET;
kfree(dev->priv);
dev->priv = NULL;
- free_irq(dev->irq);
+ free_irq(dev->irq, NULL);
irq2dev_map[dev->irq] = NULL;
release_region(ioaddr, WD_IO_EXTENT);
unregister_netdev(dev);
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