summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-05-06 09:14:34 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-09 16:24:15 -0400
commitccad725ccb068851fbce2022b2a51fa458d1eac1 (patch)
tree21069a22f1f157b2618d3462f9137af25e344c28
parent74a78b15e6e3dd909a39e0d99dfa0268c126e2c6 (diff)
downloadtalos-op-linux-ccad725ccb068851fbce2022b2a51fa458d1eac1.tar.gz
talos-op-linux-ccad725ccb068851fbce2022b2a51fa458d1eac1.zip
net: xgene_enet: Set hardware dependency
The xgene_enet driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Iyappan Subramanian <isubramanian@apm.com> Cc: Keyur Chudgar <kchudgar@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-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
OpenPOWER on IntegriCloud