提交 3b76b3c3 编写于 作者: G Geert Uytterhoeven 提交者: David S. Miller

net/ethernet: NET_CALXEDA_XGMAC should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `xgmac_xmit':
drivers/net/ethernet/calxeda/xgmac.c:1102: undefined reference to `dma_mapping_error'
Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f77d6021
config NET_CALXEDA_XGMAC config NET_CALXEDA_XGMAC
tristate "Calxeda 1G/10G XGMAC Ethernet driver" tristate "Calxeda 1G/10G XGMAC Ethernet driver"
depends on HAS_IOMEM depends on HAS_IOMEM && HAS_DMA
select CRC32 select CRC32
help help
This is the driver for the XGMAC Ethernet IP block found on Calxeda This is the driver for the XGMAC Ethernet IP block found on Calxeda
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册