summaryrefslogtreecommitdiff
path: root/ethtool-util.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2007-07-16 20:04:40 +0100
committerJeff Garzik <jeff@garzik.org>2007-07-26 13:21:56 -0400
commita5f8ce23307719f03727f72f1d68007213de7d5c (patch)
tree6680112a337f415fec06e11b9d4b00a8899b0b18 /ethtool-util.h
parent3764dec8110409fd07def332732909ba84fec752 (diff)
downloadethtool-a5f8ce23307719f03727f72f1d68007213de7d5c.tar.gz
ethtool: add register dump support for SMSC LAN911x/LAN921x
This patch adds support for SMSC's LAN911x and LAN921x families of embedded ethernet controllers to ethtool's dump registers (-d) command. This patch is for use with the smsc911x driver. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool-util.h')
-rw-r--r--ethtool-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethtool-util.h b/ethtool-util.h
index dcb0c1c..c8f98f4 100644
--- a/ethtool-util.h
+++ b/ethtool-util.h
@@ -56,4 +56,8 @@ int sky2_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
/* Fabric7 VIOC */
int vioc_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+
+/* SMSC LAN911x/LAN921x embedded ethernet controller */
+int smsc911x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+
#endif