diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-01-06 18:07:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 20:06:09 -0500 |
commit | aec7ff278145280c2c78377aeb98feed02c8b636 (patch) | |
tree | fa03f8eac900b08e278b64ad76d825400907af9c /drivers/net/stmmac/stmmac_ethtool.c | |
parent | db98a0b001df79ffcdd4f231c3516411786a1113 (diff) |
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>
Diffstat (limited to 'drivers/net/stmmac/stmmac_ethtool.c')
-rw-r--r-- | drivers/net/stmmac/stmmac_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac_ethtool.c b/drivers/net/stmmac/stmmac_ethtool.c index 9c7ce1ea3ae..0abeff6193a 100644 --- a/drivers/net/stmmac/stmmac_ethtool.c +++ b/drivers/net/stmmac/stmmac_ethtool.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/phy.h> | 28 | #include <linux/phy.h> |
29 | 29 | ||
30 | #include "stmmac.h" | 30 | #include "stmmac.h" |
31 | #include "dwmac_dma.h" | ||
31 | 32 | ||
32 | #define REG_SPACE_SIZE 0x1054 | 33 | #define REG_SPACE_SIZE 0x1054 |
33 | #define MAC100_ETHTOOL_NAME "st_mac100" | 34 | #define MAC100_ETHTOOL_NAME "st_mac100" |