net: ec_bhf: Add runtime dependencies
Subsystems (2)
PATCH 1/1 net: ec_bhf: Add runtime dependencies
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.
--- 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_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
Signature · 2 lines
Jean Delvare SUSE L3 Support
Quoted 17 lines · Jean Delvare
The
ec_bhfdriver is specific to the Beckhoff CX5020, an embedded PC based on a 32-bit Intel Atom CPU. So we can add a dependency onX86_32, withCOMPILE_TESTas an alternative to still allow for broader build-testing.Signed-off-by Jean Delvare <[email protected]>Cc Darek Marcinkiewicz <[email protected]>Cc David S. Miller <[email protected]>--- drivers/net/ethernet/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/Kconfig source "drivers/net/ethernet/cisco/Kconf · line 45
Quoted 7 lines
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_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
It makes sense, just one more comment. It is pretty likely that this driver also works with CX20** family of Beckhoff embedded PCs, which have 64bit Intel iCore processor. Unfortunately, I haven't yet had a chance to get my hands on any of those so cannot tell for sure. Maybe allowing this driver also for x64 would be slightly better option?
Signature · 1 line
DM
David Miller
maintainerFrom: Jean Delvare <[email protected]>
Date: Mon, 26 May 2014 21:26:14 +0200
Quoted 6 lines
The
ec_bhfdriver is specific to the Beckhoff CX5020, an embedded PC based on a 32-bit Intel Atom CPU. So we can add a dependency onX86_32, withCOMPILE_TESTas an alternative to still allow for broader build-testing.Signed-off-by Jean Delvare <[email protected]>
Please follow Darek's recommendationa and allow X86_64 as well.
Thanks.