stmmac: split core and dma for the mac10/100
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Tue, 13 Apr 2010 20:21:11 +0000 (20:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2010 11:49:49 +0000 (04:49 -0700)
commit3c32be635c18ead00d460b7bdad1da52622ff40f
tree5a26fc20ebe0b826fc3deb66676b20897ac8e979
parentf0ad0860d01e47a3ffd220564c5c653b3afbe962
stmmac: split core and dma for the mac10/100

The patch splits core and dma parts for the mac10/100 device.
This was already done for the GMAC device.
It should make more flexible the driver to support other chips.

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/dwmac100.h
drivers/net/stmmac/dwmac100_core.c [new file with mode: 0644]
drivers/net/stmmac/dwmac100_dma.c [moved from drivers/net/stmmac/dwmac100.c with 59% similarity]