Searched hist:eb38401c779d350e9e31396471ea072fa29aec9b (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | hwif.c | diff eb38401c779d350e9e31396471ea072fa29aec9b Fri May 18 17:54:38 CEST 2018 Jose Abreu <Jose.Abreu@synopsys.com> net: stmmac: Populate missing callbacks in HWIF initialization
Some HW specific setups, like sun8i, do not populate all the necessary callbacks, which is what HWIF helpers were expecting.
Fix this by always trying to get the generic helpers and populate them if they were not previously populated by HW specific setup.
Signed-off-by: Jose Abreu <joabreu@synopsys.com> Fixes: 5f0456b43140 ("net: stmmac: Implement logic to automatically select HW Interface") Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Cc: Corentin Labbe <clabbe.montjoie@gmail.com> Cc: David S. Miller <davem@davemloft.net> Cc: Joao Pinto <jpinto@synopsys.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|