]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tg3: Fix io failures after chip reset
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jul 2011 10:20:50 +0000 (10:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 19:36:15 +0000 (12:36 -0700)
commit9e975cc291d80d5e4562d6bed15ec171e896d69b
tree7f64a2805778a627559d5cbe7f58f12836aaac1e
parent7961689586d30a34c10b18ac95ba1cd72cefe725
tg3: Fix io failures after chip reset

Commit f2096f94b514d88593355995d5dd276961e88af1, entitled
"tg3: Add 5720 H2BMC support", needed to add code to preserve some bits
set by firmware.  Unfortunately the new code causes throughput to stop
after a chip reset because it enables state machines before they are
ready.  This patch undoes the problematic code.  The bits will be
restored later in the init sequence.

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