diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-04-13 20:21:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-14 04:49:50 -0700 |
commit | 56b106ae7b1f6b7cef4ef7e79a03b59cfc940923 (patch) | |
tree | 3bf4908dd7a31231480f7f7289e6660b49bd41e3 /drivers/net/stmmac/dwmac100.h | |
parent | 3c32be635c18ead00d460b7bdad1da52622ff40f (diff) |
stmmac: rework normal and enhanced descriptors
Currently the driver assumes that the mac10/100 can only use the
normal descriptor structure and the gmac can only use the
enhanced structures.
This patch removes the descriptor's code from the dma files
and adds two new files just for handling the normal and enhanced
descriptors.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/dwmac100.h')
-rw-r--r-- | drivers/net/stmmac/dwmac100.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/stmmac/dwmac100.h b/drivers/net/stmmac/dwmac100.h index 9f4ba2e76575..97956cbf1cb4 100644 --- a/drivers/net/stmmac/dwmac100.h +++ b/drivers/net/stmmac/dwmac100.h @@ -118,16 +118,4 @@ enum ttc_control { #define DMA_MISSED_FRAME_OVE_M 0x00010000 /* Missed Frame Overflow */ #define DMA_MISSED_FRAME_M_CNTR 0x0000ffff /* Missed Frame Couinter */ -#undef DWMAC100_DEBUG -/* #define DWMAC100__DEBUG */ -#undef FRAME_FILTER_DEBUG -/* #define FRAME_FILTER_DEBUG */ -#ifdef DWMAC100__DEBUG -#define DBG(fmt, args...) printk(fmt, ## args) -#else -#define DBG(fmt, args...) do { } while (0) -#endif - extern struct stmmac_dma_ops dwmac100_dma_ops; -extern struct stmmac_desc_ops dwmac100_desc_ops; - |