stmmac: move the dma out from the main
This patch moves the dma related functions (interrupt, start, stop etc.) out from the main driver code. This will help to support new DMA engines. Signed-off-by:Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/stmmac/Makefile 1 addition, 1 deletiondrivers/net/stmmac/Makefile
- drivers/net/stmmac/common.h 54 additions, 155 deletionsdrivers/net/stmmac/common.h
- drivers/net/stmmac/dwmac_dma.h 107 additions, 0 deletionsdrivers/net/stmmac/dwmac_dma.h
- drivers/net/stmmac/dwmac_lib.c 263 additions, 0 deletionsdrivers/net/stmmac/dwmac_lib.c
- drivers/net/stmmac/gmac.c 9 additions, 0 deletionsdrivers/net/stmmac/gmac.c
- drivers/net/stmmac/mac100.c 9 additions, 0 deletionsdrivers/net/stmmac/mac100.c
- drivers/net/stmmac/stmmac_ethtool.c 1 addition, 0 deletionsdrivers/net/stmmac/stmmac_ethtool.c
- drivers/net/stmmac/stmmac_main.c 37 additions, 231 deletionsdrivers/net/stmmac/stmmac_main.c
Loading
Please register or sign in to comment