summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/apm/xgene/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/apm/xgene/Kconfig')
-rw-r--r--drivers/net/ethernet/apm/xgene/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/apm/xgene/Kconfig b/drivers/net/ethernet/apm/xgene/Kconfig
index f4054d242f3c..19e38afbc5ee 100644
--- a/drivers/net/ethernet/apm/xgene/Kconfig
+++ b/drivers/net/ethernet/apm/xgene/Kconfig
@@ -1,6 +1,7 @@
config NET_XGENE
tristate "APM X-Gene SoC Ethernet Driver"
depends on HAS_DMA
+ depends on ARCH_XGENE || COMPILE_TEST
select PHYLIB
help
This is the Ethernet driver for the on-chip ethernet interface on the