From 02ea0ac03e3a79401c00349a7a69c3643913f52b Mon Sep 17 00:00:00 2001 From: Giuseppe CAVALLARO Date: Wed, 13 Oct 2010 10:52:25 +0200 Subject: ethtool: add stmmac support Add the stmmac support into the ethtool to dump both the Mac Core and Dma registers. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Ben Hutchings --- ethtool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ethtool.c') diff --git a/ethtool.c b/ethtool.c index 7612b14..3098c84 100644 --- a/ethtool.c +++ b/ethtool.c @@ -1666,6 +1666,8 @@ static struct { { "smsc911x", smsc911x_dump_regs }, { "at76c50x-usb", at76c50x_usb_dump_regs }, { "sfc", sfc_dump_regs }, + { "st_mac100", st_mac100_dump_regs }, + { "st_gmac", st_gmac_dump_regs }, }; static int dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) -- cgit v1.2.1