]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: move the dma out from the main
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 6 Jan 2010 23:07:18 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 01:06:09 +0000 (17:06 -0800)
commitc35e7a59ade762161340acaab2e9ee86afa2ea0b
treefa03f8eac900b08e278b64ad76d825400907af9c
parent21bd057c7e1a01e3a48bb5483a2ca95ea7da8811
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>
drivers/net/stmmac/Makefile
drivers/net/stmmac/common.h
drivers/net/stmmac/dwmac_dma.h [new file with mode: 0644]
drivers/net/stmmac/dwmac_lib.c [new file with mode: 0644]
drivers/net/stmmac/gmac.c
drivers/net/stmmac/mac100.c
drivers/net/stmmac/stmmac_ethtool.c
drivers/net/stmmac/stmmac_main.c