]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add additional registers for dwmac1000_dma ethtool
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 27 Jun 2017 22:16:27 +0000 (17:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 16:49:54 +0000 (12:49 -0400)
commit78b86e7ae344ab77e1ba443e69ecd1d74a49b29f
tree33b4f7ec3e90ccdc3c754342a7fad825768c7640
parentae5755903aecd2d0a84a452636ceacc8d9e32766
net: stmmac: Add additional registers for dwmac1000_dma ethtool

Version 3.70a of the Designware has additional DMA registers so
add those to the ethtool DMA Register dump.
Offset 9  - Receive Interrupt Watchdog Timer Register
Offset 10 - AXI Bus Mode Register
Offset 11 - AHB or AXI Status Register
Offset 22 - HW Feature Register

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c