commit | 92feeabf3f673767c6ee4cfc7fc224098446c1c1 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Thu Dec 08 14:40:14 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 08 19:43:47 2011 -0500 |
tree | 61d10fe990942757b130098cd677751062b243bf | |
parent | 0e6c9da35ef774109a1b5740144c9d442bd5a5b5 [diff] |
tg3: Save stats across chip resets Tg3 has a place to store stats, but doesn't really use it. This patch modifies the driver so that stats are saved across chip resets and gets cleared across close / open calls. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>