diff options
author | Michael Chan <mchan@broadcom.com> | 2005-11-08 12:24:23 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-09 01:03:20 -0500 |
commit | 14004d1a4d4b5b155e1c94da222388167456c3cd (patch) | |
tree | 001e95ee46c1e6089471fb031b6a9af3b064977b /ethtool.c | |
parent | af2dbf701797d5c2bb5b8ea24bc1832ac79a7d7a (diff) | |
download | ethtool-14004d1a4d4b5b155e1c94da222388167456c3cd.tar.gz |
[PATCH] ethtool: Format register dump for tg3
Format output of "ethtool -d" for tg3 devices to make it more
readable. Each register is displayed as a 32-bit value and the
undefined regions in the register space are skipped.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'ethtool.c')
-rw-r--r-- | ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -936,6 +936,7 @@ static struct { { "pcnet32", pcnet32_dump_regs }, { "fec_8xx", fec_8xx_dump_regs }, { "ibm_emac", ibm_emac_dump_regs }, + { "tg3", tg3_dump_regs }, }; static int dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) |