Skip to content

Commit

Permalink
Staging: comedi: Kconfig dependancy fixes
Browse files Browse the repository at this point in the history
There are three minor changes I would like to do on my last patch:

* 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.

Signed-off-by: Alexander Kurz <linux@kbdbabel.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alexander Kurz authored and Greg Kroah-Hartman committed May 18, 2010
1 parent 77f047e commit ba2450b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/comedi/Kconfig
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -1266,7 +1265,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.
Expand Down

0 comments on commit ba2450b

Please sign in to comment.