net: stmmac: Switch stmmac_ops to generic HW Interface Helpers
Switch stmmac_ops to generic Hardware Interface Helpers instead of using hard-coded callbacks. This makes the code more readable and more flexible. No functional change. Signed-off-by:Jose Abreu <joabreu@synopsys.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>
Showing
- drivers/net/ethernet/stmicro/stmmac/common.h 0 additions, 70 deletionsdrivers/net/ethernet/stmicro/stmmac/common.h
- drivers/net/ethernet/stmicro/stmmac/dwmac5.c 11 additions, 8 deletionsdrivers/net/ethernet/stmicro/stmmac/dwmac5.c
- drivers/net/ethernet/stmicro/stmmac/dwmac5.h 3 additions, 3 deletionsdrivers/net/ethernet/stmicro/stmmac/dwmac5.h
- drivers/net/ethernet/stmicro/stmmac/hwif.h 138 additions, 0 deletionsdrivers/net/ethernet/stmicro/stmmac/hwif.h
- drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 25 additions, 43 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 58 additions, 64 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Loading
Please register or sign in to comment