diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-01-06 18:07:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 20:06:10 -0500 |
commit | 21d437cc66dcfd0119a4905214fbbe19f3e276dc (patch) | |
tree | a633c68d6ebd89ce2a55efb26040c6a6372e9416 /drivers/net/stmmac/common.h | |
parent | 7e848ae113ca7442ba6b44168fa2238224f37e8a (diff) |
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>
Diffstat (limited to 'drivers/net/stmmac/common.h')
-rw-r--r-- | drivers/net/stmmac/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/common.h b/drivers/net/stmmac/common.h index 987faaaa192..25b53d41151 100644 --- a/drivers/net/stmmac/common.h +++ b/drivers/net/stmmac/common.h | |||
@@ -224,7 +224,7 @@ struct mac_device_info { | |||
224 | struct mac_link link; | 224 | struct mac_link link; |
225 | }; | 225 | }; |
226 | 226 | ||
227 | struct mac_device_info *gmac_setup(unsigned long addr); | 227 | struct mac_device_info *dwmac1000_setup(unsigned long addr); |
228 | struct mac_device_info *dwmac100_setup(unsigned long addr); | 228 | struct mac_device_info *dwmac100_setup(unsigned long addr); |
229 | 229 | ||
230 | extern void stmmac_set_mac_addr(unsigned long ioaddr, u8 addr[6], | 230 | extern void stmmac_set_mac_addr(unsigned long ioaddr, u8 addr[6], |