netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ec_bhf: Add runtime dependencies
@ 2014-05-26 19:26 Jean Delvare
  2014-05-27 20:30 ` Darek Marcinkiewicz
  2014-05-30 23:32 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Jean Delvare @ 2014-05-26 19:26 UTC (permalink / raw)
  To: netdev; +Cc: Darek Marcinkiewicz, David S. Miller

The ec_bhf driver is specific to the Beckhoff CX5020, an embedded PC
based on a 32-bit Intel Atom CPU. So we can add a dependency on
X86_32, 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>
---
 drivers/net/ethernet/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.15-rc7.orig/drivers/net/ethernet/Kconfig	2014-05-26 09:24:00.555619955 +0200
+++ linux-3.15-rc7/drivers/net/ethernet/Kconfig	2014-05-26 21:01:32.971410992 +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_32 || 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] 3+ messages in thread

end of thread, other threads:[~2014-05-30 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 19:26 [PATCH] net: ec_bhf: Add runtime dependencies Jean Delvare
2014-05-27 20:30 ` Darek Marcinkiewicz
2014-05-30 23:32 ` 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).