Commit 0ebe74e7 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

net: ETHOC should depend on HAS_DMA

When building for Sun 3:

drivers/net/ethoc.c:1091: undefined reference to `dma_free_coherent'
drivers/built-in.o: In function `ethoc_probe':
drivers/net/ethoc.c:965: undefined reference to `dma_alloc_coherent'
drivers/net/ethoc.c:1063: undefined reference to `dma_free_coherent'
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 818f3331
...@@ -975,7 +975,7 @@ config ENC28J60_WRITEVERIFY ...@@ -975,7 +975,7 @@ config ENC28J60_WRITEVERIFY
config ETHOC config ETHOC
tristate "OpenCores 10/100 Mbps Ethernet MAC support" tristate "OpenCores 10/100 Mbps Ethernet MAC support"
depends on NET_ETHERNET && HAS_IOMEM depends on NET_ETHERNET && HAS_IOMEM && HAS_DMA
select MII select MII
select PHYLIB select PHYLIB
select CRC32 select CRC32
......
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