mv643xx_eth: work around TX hang hardware issue
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 1 Jun 2008 23:47:21 +0000 (01:47 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:37 +0000 (08:40 +0200)
commit226bb6b732f8c2cc7004279c509333fa41186a6d
tree8b94892772c21f3be5f22b844ed18cf49c438dd5
parent3d6b35bc5090cf8d8b7e62eca1f9c21ca56fc6c7
mv643xx_eth: work around TX hang hardware issue

Under some conditions, the TXQ ('TX queue being served') bit can clear
before all packets queued for that TX queue have been transmitted.
This patch enables TXend interrupts, and uses those to re-kick TX
queues that claim to be idle but still have queued descriptors from
the interrupt handler.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c