commit | e64de4e6c660dae6d6370b3acb59d5d5cc9ecf20 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Wed Apr 13 11:05:05 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 17:10:06 2011 -0700 |
tree | bbe7e74f51c2085ce0a3c9e8536a48061647d3b8 | |
parent | 97bd8e491d1786f0020372a5a470bb8b3184856f [diff] |
tg3: Dump registers when status block shows errors This patch monitors the error bit of the status word within the status block. If it is set, the driver will dump the driver state after validating the error and then reset the chip. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>