net: stmmac: dwmac1000: Add MAC loopback support
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:11 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commitcbc195152149e3ffa3420182023570ddd0c08670
tree05d01739d0c1a1e036c6d92af91fa19eb24dd100
parent0a05a7a315b13d4e6e7e12c1763200eeec5dd7ac
net: stmmac: dwmac1000: Add MAC loopback support

In preparation for the addition of stmmac selftests we implement the MAC
loopback callback in dwmac1000 core.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c