summaryrefslogtreecommitdiff
path: root/ethtool.c
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2010-10-13 10:52:25 +0200
committerBen Hutchings <bhutchings@solarflare.com>2010-11-16 19:13:25 +0000
commit02ea0ac03e3a79401c00349a7a69c3643913f52b (patch)
treec4d40152d816a3bdbe87fd1a10817e9dc3d0705d /ethtool.c
parent65c376336fa06ec7a4071470ac7125509c86c389 (diff)
downloadethtool-02ea0ac03e3a79401c00349a7a69c3643913f52b.tar.gz
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 <peppe.cavallaro@st.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.c')
-rw-r--r--ethtool.c2
1 files changed, 2 insertions, 0 deletions
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)