summaryrefslogtreecommitdiff
path: root/ethtool-util.h
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-util.h
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-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 01b1d03..4ef3a9f 100644
--- a/ethtool-util.h
+++ b/ethtool-util.h
@@ -93,4 +93,8 @@ int at76c50x_usb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *re
/* Solarflare Solarstorm controllers */
int sfc_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+/* STMMAC embedded ethernet controller */
+int st_mac100_dump_regs(struct ethtool_drvinfo *info,
+ struct ethtool_regs *regs);
+int st_gmac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
#endif