Commit 530742e7 authored by Peter Robinson's avatar Peter Robinson Committed by David S. Miller

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: default avatarPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b26bff6e
...@@ -17,13 +17,14 @@ if NET_VENDOR_ARC ...@@ -17,13 +17,14 @@ if NET_VENDOR_ARC
config ARC_EMAC_CORE config ARC_EMAC_CORE
tristate tristate
depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
select MII select MII
select PHYLIB select PHYLIB
config ARC_EMAC config ARC_EMAC
tristate "ARC EMAC support" tristate "ARC EMAC support"
select ARC_EMAC_CORE select ARC_EMAC_CORE
depends on OF_IRQ && OF_NET && HAS_DMA depends on OF_IRQ && OF_NET && HAS_DMA && (ARC || COMPILE_TEST)
---help--- ---help---
On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
non-standard on-chip ethernet device ARC EMAC 10/100 is used. non-standard on-chip ethernet device ARC EMAC 10/100 is used.
...@@ -32,7 +33,7 @@ config ARC_EMAC ...@@ -32,7 +33,7 @@ config ARC_EMAC
config EMAC_ROCKCHIP config EMAC_ROCKCHIP
tristate "Rockchip EMAC support" tristate "Rockchip EMAC support"
select ARC_EMAC_CORE 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--- ---help---
Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers. Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
This selects Rockchip SoC glue layer support for the This selects Rockchip SoC glue layer support for the
......
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