]> err.no Git - linux-2.6/commit
[TG3]: Fix ethtool loopback test lockup
authorMichael Chan <mchan@broadcom.com>
Thu, 25 Aug 2005 22:31:41 +0000 (15:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2005 22:31:41 +0000 (15:31 -0700)
commitd4ef16088913002255eab9958fff4e98b3b507d6
tree3984a1dc8378d7a976be60523021036c8265a167
parent06c7427021f1cc83703f14659d8405ca773ba1ef
[TG3]: Fix ethtool loopback test lockup

The tg3_abort_hw() call in tg3_test_loopback() is causing lockups on
some devices. tg3_abort_hw() disables the memory arbiter, causing
tg3_reset_hw() to hang when it tries to write the pre-reset signature.
tg3_abort_hw() should only be called after the pre-reset signature has
been written. This is all done in tg3_reset_hw() so the tg3_abort_hw()
call is unnecessary and can be removed.

[ Also bump driver version and release date. -DaveM ]

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c