[PATCH] staging/comedi: Kconfig dependancy fixes

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

 



There are tree minor changes I would like to do on my last patch:
> Subject: [PATCH] staging/comedi: new Kconfig and Makefiles, drivers grouped by bustype.

* Comedi is formally not dependant on any hardware, e.g. it is possible
 to use comedi_test without (PCI || PCMCIA || PCCARD || USB || ISA)
* comedi_parport is not dependant on PARPORT_PC.
* indirect ni_mio_cs (16-bit PCMCIA) dependancy on mite PCI-chip may 
 confuse users, thus changing COMEDI_NI_TIO depends on COMEDI_MITE
 to select COMEDI_MITE.

thanks, Alexander

>From 14bdde13616e734fbd66c1d0cb826ab6456afa44 Mon Sep 17 00:00:00 2001
From: Alexander Kurz <linux@xxxxxxxxxxxx>
Date: Sat, 15 May 2010 13:49:52 +0200
Subject: [PATCH] staging/comedi: Kconfig dependancy fixes

Signed-off-by: Alexander Kurz <linux@xxxxxxxxxxxx>
---
 drivers/staging/comedi/Kconfig |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index e9ce9c8..75e060f 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1,7 +1,7 @@
 config COMEDI
 	tristate "Data acquisition support (comedi)"
 	default N
-	depends on m && (PCI || PCMCIA || PCCARD || USB)
+	depends on m
 	---help---
 	  Enable support a wide range of data acquisition devices
 	  for Linux.
@@ -57,7 +57,6 @@ config COMEDI_TEST
 
 config COMEDI_PARPORT
 	tristate "Parallel port support"
-	depends on PARPORT_PC
 	default N
 	---help---
 	  Enable support for the standard parallel port.
@@ -1257,7 +1256,7 @@ config COMEDI_MITE
 
 config COMEDI_NI_TIO
 	tristate "NI general purpose counter support"
-	depends on COMEDI_MITE
+	select COMEDI_MITE
 	default N
 	---help---
 	  Enable support for National Instruments general purpose counters.
-- 
1.7.1

> 
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/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