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.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ethtool.c') diff --git a/ethtool.c b/ethtool.c index 4aa8e06..acaf4be 100644 --- a/ethtool.c +++ b/ethtool.c @@ -13,6 +13,7 @@ * ixgb support by Nicholas Nunley * amd8111e support by Reeja John * long arguments by Andi Kleen. + * SMSC LAN911x support by Steve Glendinning * * TODO: * * no-args => summary of each device (mii-tool style) @@ -1013,6 +1014,7 @@ static struct { { "skge", skge_dump_regs }, { "sky2", sky2_dump_regs }, { "vioc", vioc_dump_regs }, + { "smsc911x", smsc911x_dump_regs }, }; static int dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) -- cgit v1.2.1