mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
56b106ae7b
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>
6 lines
275 B
Makefile
6 lines
275 B
Makefile
obj-$(CONFIG_STMMAC_ETH) += stmmac.o
|
|
stmmac-$(CONFIG_STMMAC_TIMER) += stmmac_timer.o
|
|
stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o \
|
|
dwmac_lib.o dwmac1000_core.o dwmac1000_dma.o \
|
|
dwmac100_core.o dwmac100_dma.o enh_desc.o norm_desc.o $(stmmac-y)
|