Commit 3b76b3c3 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by 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: default avatarGeert 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: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment