Dale Farnsworth 94843566d7 [PATCH] mv643xx_eth: Fix tx_timeout to only conditionally wake tx queue
After resetting the hardware on a tx_timeout, call netif_wake_queue()
only if we have free tx descriptors.

Also, attempt to recover if mv643xx_eth_start_xmit() is called when
there are fewer free tx descriptors than expected.

The BUG_ON() call we are replacing was hit on a tx_timeout that
called netif_wake_queue(), indirectly via netif_device_attach(),
even though we did not have enough free tx descriptors.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-04-12 18:11:23 -04:00
..
2006-04-11 06:18:46 -07:00
2006-04-11 06:18:47 -07:00
2006-04-11 06:18:45 -07:00
2006-03-27 08:44:51 -08:00
2006-04-11 06:18:40 -07:00
2006-03-29 13:24:50 +11:00
2006-04-11 06:18:43 -07:00
2006-04-11 06:18:47 -07:00
2006-04-11 06:18:38 -07:00
2006-04-11 06:18:46 -07:00
2006-04-11 06:18:44 -07:00
2006-03-23 07:38:16 -08:00
2006-03-24 18:23:14 +01:00
2006-03-31 12:18:56 -08:00