patch-2.1.62 linux/drivers/net/skeleton.c
Next file: linux/drivers/net/smc-mca.c
Previous file: linux/drivers/net/sk_g16.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Nov 3 09:29:31 1997
- Orig file:
v2.1.61/linux/drivers/net/skeleton.c
- Orig date:
Sat Oct 25 02:44:16 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/skeleton.c linux/drivers/net/skeleton.c
@@ -322,7 +322,7 @@
* and clean up on failure.
*/
if (request_dma(dev->dma, cardname)) {
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
return -EAGAIN;
}
@@ -497,7 +497,7 @@
/* If not IRQ or DMA jumpered, free up the line. */
outw(0x00, ioaddr+0); /* Release the physical interrupt line. */
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
free_dma(dev->dma);
/* Update the statistics here. */
@@ -604,7 +604,7 @@
* allocate them in net_probe1().
*/
/*
- free_irq(this_device.irq, NULL);
+ free_irq(this_device.irq, dev);
free_dma(this_device.dma);
*/
release_region(this_device.base_addr, NETCARD_IO_EXTENT);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov