patch-2.1.62 linux/drivers/net/pt.c
Next file: linux/drivers/net/sdla.c
Previous file: linux/drivers/net/pi2.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/pt.c
- Orig date:
Sat Oct 25 02:44:16 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/pt.c linux/drivers/net/pt.c
@@ -896,7 +896,7 @@
{
if (request_dma(dev->dma, "pt"))
{
- free_irq(dev->irq, NULL);
+ free_irq(dev->irq, dev);
return -EAGAIN;
}
}
@@ -1769,7 +1769,7 @@
void cleanup_module(void)
{
- free_irq(pt0a.irq, NULL); /* IRQs and IO Ports are shared */
+ free_irq(pt0a.irq, &pt0a); /* IRQs and IO Ports are shared */
release_region(pt0a.base_addr & 0x3f0, PT_TOTAL_SIZE);
kfree(pt0a.priv);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov