From: Jean Delvare Date: Sat, 31 May 2014 15:32:27 +0000 (+0200) Subject: net: ec_bhf: Add runtime dependencies X-Git-Tag: Ubuntu-5.0.0-8.9~11448^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3aab01d800eb195de3f273d9a195fe070a507d56;p=mirror_ubuntu-disco-kernel.git 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 Cc: Darek Marcinkiewicz Cc: David S. Miller Signed-off-by: David S. Miller --- 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