]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit48435bc3b330b84eed095174d214c48df6124ac8
tree6ce4afb482670661db49a0fe3cf7ad045f2934a7
parent33a74bf4287389ff43147ee34bb177151c1b9ad5
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