netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] net: ec_bhf: Add runtime dependencies
@ 2014-05-31 15:32 Jean Delvare
  2014-06-03  0:02 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-05-31 15:32 UTC (permalink / raw)
  To: netdev; +Cc: Darek Marcinkiewicz, David S. Miller

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>
---
Changes since v1:
 * Depend on X86 instead of X86_32.

 drivers/net/ethernet/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.15-rc7.orig/drivers/net/ethernet/Kconfig	2014-05-30 12:45:25.185014302 +0200
+++ linux-3.15-rc7/drivers/net/ethernet/Kconfig	2014-05-31 17:25:40.286213925 +0200
@@ -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

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-03  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-31 15:32 [PATCH v2] net: ec_bhf: Add runtime dependencies Jean Delvare
2014-06-03  0:02 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).