From 14004d1a4d4b5b155e1c94da222388167456c3cd Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Tue, 8 Nov 2005 12:24:23 -0800 Subject: [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 Signed-off-by: Jeff Garzik --- ethtool-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ethtool-util.h') 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 -- cgit v1.2.1