]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwxgmac2: Add MAC loopback support
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:13 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commit2276d16b51b1fd046a5803cc05529754af4fe80d
treeb3fa7ba140b78621e3fa5fd477b61be0356051c8
parent1c3442fe3f68ee54974db5303f34a76f07c64a82
net: stmmac: dwxgmac2: Add MAC loopback support

In preparation for the addition of stmmac selftests we implement the MAC
loopback callback in dwxgmac2 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/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c