stmmac: rename the gmac as dwmac1000 and split core and dma parts
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 6 Jan 2010 23:07:20 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 01:06:10 +0000 (17:06 -0800)
commit21d437cc66dcfd0119a4905214fbbe19f3e276dc
treea633c68d6ebd89ce2a55efb26040c6a6372e9416
parent7e848ae113ca7442ba6b44168fa2238224f37e8a
stmmac: rename the gmac as dwmac1000 and split core and dma parts

Use dwmac1000 naming instead of gmac.
The patch also splits the gmac.c file in two new ones:
dwmac1000_core.c and dwmac1000_dma.c.
This could actually help on some architectures where different
DMA engines are used.

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/descs.h
drivers/net/stmmac/dwmac1000.h [moved from drivers/net/stmmac/gmac.h with 94% similarity]
drivers/net/stmmac/dwmac1000_core.c [new file with mode: 0644]
drivers/net/stmmac/dwmac1000_dma.c [moved from drivers/net/stmmac/gmac.c with 55% similarity]
drivers/net/stmmac/stmmac_main.c