From: Thor Thayer <thor.tha...@linux.intel.com> This patch adds the DMA HW Feature Register which is at the end of the DMA registers and is documented in Version 3.70a.
Signed-off-by: Thor Thayer <thor.tha...@linux.intel.com> Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com> --- v2 Modify for MACRO changes and add Acked-by v3 No change --- stmmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmmac.c b/stmmac.c index 23ed31a..79ef151 100644 --- a/stmmac.c +++ b/stmmac.c @@ -16,7 +16,7 @@ #define MAC100_DMA_REG_NUM 9 #define GMAC_REG_NUM 55 -#define GMAC_DMA_REG_NUM 22 +#define GMAC_DMA_REG_NUM 23 int st_mac100_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) -- 2.7.4