summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-04-28 17:59:41 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-28 20:03:48 +0200
commit92207cde490261c52cc804588561d8f3117cdf87 (patch)
tree3bef116be438da7592e719e0f6b98ea986a0bf51 /drivers/net/Kconfig
parent10e69303239b91a81149490fd22c848a0813c35e (diff)
downloadbarebox-92207cde490261c52cc804588561d8f3117cdf87.tar.gz
net: e1000: add HAS_DMA dependency
The e1000 driver uses the dma coherent functions and thus can only be build for architectures implementing them. Here is mips malta build error log: drivers/built-in.o: In function `e1000_transmit': drivers/net/e1000.c:(.text.e1000_transmit+0x80): undefined reference to `dma_sync_single_for_device' drivers/built-in.o: In function `e1000_poll': drivers/net/e1000.c:(.text.e1000_poll+0x60): undefined reference to `dma_sync_single_for_cpu' Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 41f033f..b723a12 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -79,6 +79,7 @@ config DRIVER_NET_DM9K
config DRIVER_NET_E1000
bool "Intel e1000 ethernet driver"
depends on PCI
+ depends on HAS_DMA
select PHYLIB
help
This is a driver for the Gigabit Ethernet PCI network cards based on