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-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ethtool-util.h') 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 -- cgit v1.2.1