Skip to contentSkip to conversation

net: ec_bhf: Add runtime dependencies

PATCH Applied Jean Delvare 2 participants 2 messages May 31, 2014 – Jun 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

Cc Darek Marcinkiewicz <[email protected]>
Cc David S. Miller <[email protected]>

---
Changes since v1:
* Depend on X86 instead of X86_32.

 drivers/net/ethernet/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/Kconfig +1 -0
@@ -39,6 +39,7 @@ source "drivers/net/ethernet/cisco/Kconf
 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
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Applied
#1 lore raw

From: Jean Delvare <[email protected]>
Date: Sat, 31 May 2014 17:32:27 +0200

Quoted 6 lines

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.

Applied, thanks.