summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-31 19:32:27 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-03 04:02:28 +0400
commit3aab01d800eb195de3f273d9a195fe070a507d56 (patch)
tree1eafa0843cce1a86d7089988d68a066c9cca3d8a /drivers/net/ethernet/Kconfig
parent0cfa5c07d6d1d7f8e710fc671c5ba1ce85e09fa4 (diff)
downloadlinux-3aab01d800eb195de3f273d9a195fe070a507d56.tar.xz
net: ec_bhf: Add runtime dependencies
The ec_bhf driver is specific to the Beckhoff CX embedded PC series. These are based on Intel x86 CPU. So we can add a dependency on X86, with COMPILE_TEST as an alternative to still allow for broader build-testing. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Darek Marcinkiewicz <reksio@newterm.pl> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/Kconfig')
-rw-r--r--drivers/net/ethernet/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index d7401017a3f1..051349458462 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -39,6 +39,7 @@ source "drivers/net/ethernet/cisco/Kconfig"
config CX_ECAT
tristate "Beckhoff CX5020 EtherCAT master support"
depends on PCI
+ depends on X86 || COMPILE_TEST
---help---
Driver for EtherCAT master module located on CCAT FPGA
that can be found on Beckhoff CX5020, and possibly other of CX