summaryrefslogtreecommitdiff
path: root/ethtool-util.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-11-08 12:24:23 -0800
committerJeff Garzik <jgarzik@pobox.com>2005-11-09 01:03:20 -0500
commit14004d1a4d4b5b155e1c94da222388167456c3cd (patch)
tree001e95ee46c1e6089471fb031b6a9af3b064977b /ethtool-util.h
parentaf2dbf701797d5c2bb5b8ea24bc1832ac79a7d7a (diff)
downloadethtool-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-util.h')
-rw-r--r--ethtool-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethtool-util.h b/ethtool-util.h
index e95d75c..7d6638e 100644
--- a/ethtool-util.h
+++ b/ethtool-util.h
@@ -42,4 +42,7 @@ int fec_8xx_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
/* PowerPC 4xx on-chip Ethernet controller */
int ibm_emac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+/* Broadcom Tigon3 Ethernet controller */
+int tg3_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+
#endif