]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add MAC loopback callback to HWIF
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:09 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commited1e1bd90f29df87218d33aedea59292aec24dcf
tree6ce4afb482670661db49a0fe3cf7ad045f2934a7
parent1d13af0947e8bdb79b88ade1333efd909f40dd5b
net: stmmac: Add MAC loopback callback to HWIF

In preparation for the addition of selftests support for stmmac we add a
new callback to HWIF that can be used to set the controller in loopback
mode.

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>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/hwif.h