patch-2.3.47 linux/drivers/net/de600.c

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

diff -u --recursive --new-file v2.3.46/linux/drivers/net/de600.c linux/drivers/net/de600.c
@@ -368,7 +368,7 @@
 	de600_put_command(0);
 	select_prn();
 
-	if (test_bit(LINK_STATE_START, &dev->state)) { /* perhaps not needed? */
+	if (netif_running(dev)) { /* perhaps not needed? */
 		free_irq(DE600_IRQ, dev);
 		MOD_DEC_USE_COUNT;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)