patch-2.1.62 linux/drivers/net/hp.c
Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/net/hp-plus.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Nov 3 09:29:30 1997
- Orig file:
v2.1.61/linux/drivers/net/hp.c
- Orig date:
Sat Oct 25 02:44:16 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/hp.c linux/drivers/net/hp.c
@@ -180,7 +180,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, NULL);
+ free_irq(dev->irq, dev);
return -ENOMEM;
}
@@ -435,7 +435,7 @@
int ioaddr = dev->base_addr - NIC_OFFSET;
kfree(dev->priv);
dev->priv = NULL;
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
release_region(ioaddr, HP_IO_EXTENT);
unregister_netdev(dev);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov