From b3265685f7e4009aa4e3fbe788d80cd6d4e0e227 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 22 Jul 2014 09:57:21 +0200 Subject: sandbox: allow "make ARCH=sandbox allyesconfig" Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that Kconfig files can depend on. That way, code that is only working where a cache or DMA implementation exists can be opted out. Signed-off-by: Holger Schurig Signed-off-by: Sascha Hauer --- drivers/net/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/net/Kconfig') diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 5f0c41b151..ffce40a506 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -34,6 +34,7 @@ config DRIVER_NET_AR231X config DRIVER_NET_ARC_EMAC bool "ARC Ethernet MAC driver" + depends on HAS_DMA select PHYLIB help This option enables support for the ARC EMAC ethernet @@ -46,6 +47,7 @@ config DRIVER_NET_AT91_ETHER config DRIVER_NET_CALXEDA_XGMAC bool "Calxeda xgmac" + depends on HAS_DMA config DRIVER_NET_CS8900 bool "cs8900 ethernet driver" @@ -63,6 +65,7 @@ config DRIVER_NET_DAVINCI_EMAC config DRIVER_NET_DESIGNWARE bool "Designware Universal MAC ethernet driver" + depends on HAS_DMA select PHYLIB help This option enables support for the Synopsys @@ -94,6 +97,7 @@ config DRIVER_NET_EP93XX config DRIVER_NET_ETHOC bool "OpenCores ethernet MAC driver" + depends on HAS_CACHE select PHYLIB help This option enables support for the OpenCores 10/100 Mbps -- cgit v1.2.3