summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_rd.c
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2006-04-12 03:24:26 +0200
committerJeff Garzik <jeff@garzik.org>2006-04-13 00:11:23 +0200
commit94843566d7119e049a72618a3c939d5c2be022c7 (patch)
tree4b0b90677e6ad7cbe70914a3ad33bdf57a55997d /init/do_mounts_rd.c
parent[PATCH] mv643xx_eth: Always free completed tx descs on tx interrupt (diff)
downloadlinux-94843566d7119e049a72618a3c939d5c2be022c7.tar.xz
linux-94843566d7119e049a72618a3c939d5c2be022c7.zip
[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>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions