Commit 3aab01d800eb195de3f273d9a195fe070a507d56
Committed by
David S. Miller
1 parent
0cfa5c07d6
Exists in
ti-lsk-linux-4.1.y
and in
12 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/net/ethernet/Kconfig
... | ... | @@ -39,6 +39,7 @@ |
39 | 39 | config CX_ECAT |
40 | 40 | tristate "Beckhoff CX5020 EtherCAT master support" |
41 | 41 | depends on PCI |
42 | + depends on X86 || COMPILE_TEST | |
42 | 43 | ---help--- |
43 | 44 | Driver for EtherCAT master module located on CCAT FPGA |
44 | 45 | that can be found on Beckhoff CX5020, and possibly other of CX |