[PATCH] staging: comedi: allow ISA and PC/104 drivers on non-ISA systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Embedded systems with a PC/104 bus might have a configuration that
does not have ISA enabled. This creates a problem in Comedi where
the PC/104 drivers cannot be enabled.

Introduce a Kconfig option to allow enabling the Comedi ISA and
PC/104 drivers if ISA is disabled.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxx>
---
 drivers/staging/comedi/Kconfig | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 01782fc..4a5dc4c 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -98,9 +98,20 @@ config COMEDI_SKEL
 
 endif # COMEDI_MISC_DRIVERS
 
+if !ISA
+
+config COMEDI_ENABLE_ISA
+	bool "Enable Comedi ISA and PC/104 drivers on non-ISA systems"
+	---help---
+	  Many of the Comedi PC/104 drivers work on embeded systems that
+	  might not have the ISA option enabled. Select this option to
+	  enable Comedi ISA and PC/104 drivers on these systems.
+
+endif # !ISA
+
 menuconfig COMEDI_ISA_DRIVERS
 	bool "Comedi ISA and PC/104 drivers"
-	depends on ISA
+	depends on ISA || COMEDI_ENABLE_ISA
 	---help---
 	  Enable comedi ISA and PC/104 drivers to be built
 
-- 
1.8.3.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux