From a5f8ce23307719f03727f72f1d68007213de7d5c Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Mon, 16 Jul 2007 20:04:40 +0100 Subject: 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 Signed-off-by: Jeff Garzik --- ethtool-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ethtool-util.h') 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 -- cgit v1.2.1