summaryrefslogtreecommitdiff
path: root/ethtool-copy.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-08-31 19:02:37 -0700
committerBen Hutchings <bhutchings@solarflare.com>2011-08-31 23:22:07 +0100
commitaa322e8201f235806d3d774cfb3ad5919110c86c (patch)
tree3194b09a98bb99b25e33aa21339d26d0b5c28a11 /ethtool-copy.h
parenta6fc65beec03dd602d032a8046c004dce6634cb1 (diff)
downloadethtool-aa322e8201f235806d3d774cfb3ad5919110c86c.tar.gz
ethtool: Uncook tg3 regdump output
tg3 devices have changed a lot since the bcm5700 days. Register blocks have been added, removed and redefined. The existing tg3 register dump code has not kept up. This patch changes the tg3_dump_regs() function to be more simplistic. Rather than attempting to locate where meaningful data is, it will instead print the registers as 32-bit values, omitting all registers that have a value of zero. By performing the output this way, we hope to future-proof the interface. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool-copy.h')
0 files changed, 0 insertions, 0 deletions