patch-2.1.62 linux/drivers/net/ac3200.c
Next file: linux/drivers/net/apricot.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Nov 3 09:29:30 1997
- Orig file:
v2.1.61/linux/drivers/net/ac3200.c
- Orig date:
Sat Oct 25 02:44:15 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/ac3200.c linux/drivers/net/ac3200.c
@@ -173,7 +173,7 @@
/* Allocate dev->priv and fill in 8390 specific dev fields. */
if (ethdev_init(dev)) {
printk (" unable to allocate memory for dev->priv.\n");
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
return -ENOMEM;
}
@@ -303,7 +303,7 @@
#ifdef notyet
/* We should someday disable shared memory and interrupts. */
outb(0x00, ioaddr + 6); /* Disable interrupts. */
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
#endif
ei_close(dev);
@@ -369,7 +369,7 @@
kfree(dev->priv);
dev->priv = NULL;
/* Someday free_irq may be in ac_close_card() */
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
release_region(dev->base_addr, AC_IO_EXTENT);
unregister_netdev(dev);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov