patch-2.1.62 linux/drivers/net/cs89x0.c

Next file: linux/drivers/net/de600.c
Previous file: linux/drivers/net/cops.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.61/linux/drivers/net/cs89x0.c linux/drivers/net/cs89x0.c
@@ -655,7 +655,7 @@
                 printk("%s: EEPROM is configured for unavailable media\n", dev->name);
         release_irq:
                 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) & ~(SERIAL_TX_ON | SERIAL_RX_ON));
-                free_irq(dev->irq, NULL);
+                free_irq(dev->irq, dev);
 		return -EAGAIN;
 	}
 
@@ -918,7 +918,7 @@
 
 	dev->start = 0;
 
-	free_irq(dev->irq, NULL);
+	free_irq(dev->irq, dev);
 
 	/* Update the statistics here. */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov