]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] subdance: fix TX Pause bug (reset_tx, intr_handler)
authorJesse Huang <jesse@icplus.com.tw>
Fri, 20 Oct 2006 21:42:11 +0000 (14:42 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:02 +0000 (00:12 -0500)
commit2109f89f3483ff5a05899385ee3fb04d779e9cce
treeccdd29cbe3f5bc3cd27b5fbc09fff7e49e82985b
parente242040df1da94a9a3daa98ea5539e2b52502bb4
[PATCH] subdance: fix TX Pause bug (reset_tx, intr_handler)

Fix TX Pause bug (reset_tx, intr_handler).  When MaxCollisions occurred, need
to re-enable Tx.  But just after re-enable, MaxCollisions maybe occurred again
and with TxStatusOverflow.  This will cause driver can't check new
MaxCollisions to re-enable Tx again, because TxStatusOverflow.  For this
reason, after re-enable Tx, we need to make sure Tx was actually enabled.

Signed-off-by: Jesse Huang <jesse@icplus.com.tw>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sundance.c