Subject: [PATCH 2/2] forcedeth: fix tx timeout

From: Ayaz Abdulla <[email-masked]>
Date: Fri, 23 Mar 2007 05:50:02 -0500

The tx timeout routine was waking the tx queue conditionally. However, 
it must call it unconditionally since the dev_watchdog has halted the tx 
queue before calling the timeout function.

Signed-Off-By: Ayaz Abdulla <[email-masked]>

--- orig/drivers/net/forcedeth.c	2007-03-11 20:59:06.000000000 -0500
+++ new/drivers/net/forcedeth.c	2007-03-11 20:58:59.000000000 -0500
@@ -2050,9 +2050,10 @@
 		nv_drain_tx(dev);
 		nv_init_tx(dev);
 		setup_hw_rings(dev, NV_SETUP_TX_RING);
-		netif_wake_queue(dev);
 	}
 
+	netif_wake_queue(dev);
+
 	/* 4) restart tx engine */
 	nv_start_tx(dev);
 	spin_unlock_irq(&np->lock);