diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2016-11-28 07:12:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 18:57:36 -0500 |
commit | 530742e707190b585f0874876ad1fcac9a0abbcb (patch) | |
tree | 2286d9047b53f33cfac0f1d5235a9e89fa3cc346 /drivers/net/ethernet/arc/Kconfig | |
parent | b26bff6e52d8b66045b94f2d06f8a349224a55d1 (diff) | |
download | linux-stable-530742e707190b585f0874876ad1fcac9a0abbcb.tar.gz linux-stable-530742e707190b585f0874876ad1fcac9a0abbcb.tar.bz2 linux-stable-530742e707190b585f0874876ad1fcac9a0abbcb.zip |
net: arc_emac: add dependencies on associated arches and compile test
Add dependencies on the architectures that support these devices and
add compile test to ensure ongoing code build coverage.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/Kconfig')
-rw-r--r-- | drivers/net/ethernet/arc/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/arc/Kconfig b/drivers/net/ethernet/arc/Kconfig index 689045186064..e743ddf46343 100644 --- a/drivers/net/ethernet/arc/Kconfig +++ b/drivers/net/ethernet/arc/Kconfig @@ -17,13 +17,14 @@ if NET_VENDOR_ARC config ARC_EMAC_CORE tristate + depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST select MII select PHYLIB config ARC_EMAC tristate "ARC EMAC support" select ARC_EMAC_CORE - depends on OF_IRQ && OF_NET && HAS_DMA + depends on OF_IRQ && OF_NET && HAS_DMA && (ARC || COMPILE_TEST) ---help--- On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x non-standard on-chip ethernet device ARC EMAC 10/100 is used. @@ -32,7 +33,7 @@ config ARC_EMAC config EMAC_ROCKCHIP tristate "Rockchip EMAC support" select ARC_EMAC_CORE - depends on OF_IRQ && OF_NET && REGULATOR && HAS_DMA + depends on OF_IRQ && OF_NET && REGULATOR && HAS_DMA && (ARCH_ROCKCHIP || COMPILE_TEST) ---help--- Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers. This selects Rockchip SoC glue layer support for the |