summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-02-23 14:58:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 18:53:52 -0800
commitc0cfeca1a80efbb7691961d4ac31af30c559f976 (patch)
tree4b95ce59d1a0da900bd98e4124cd25717f855de3 /drivers/staging/comedi/Kconfig
parent5a213fa6f7c33219300bdd826d77172bfd5a54e6 (diff)
downloadop-kernel-dev-c0cfeca1a80efbb7691961d4ac31af30c559f976.zip
op-kernel-dev-c0cfeca1a80efbb7691961d4ac31af30c559f976.tar.gz
staging: comedi: ni_labpc_common: convert driver to use the comedi_8254 module
This driver uses an 8254 timer to generate the pacer clock used for analog input data conversion. Convert it to use the comedi_8254 module to provide support for the 8254 timer. The hardware actually has two 8254 devices. Timer B0 is the master for timed conversions, timer B1 sets the scan pacing, and tmer A0 sets the conversion pacing. For the conversion, dev->pacer is used for the "B" timers and a new private data member, dev->counter, is used for the "A" timers. All the divisor values are stored in the dev->pacer. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index ebda03c..737994a 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1292,6 +1292,7 @@ config COMEDI_ISADMA
config COMEDI_NI_LABPC
tristate
+ select COMEDI_8254
select COMEDI_8255
config COMEDI_NI_LABPC_ISADMA
OpenPOWER on IntegriCloud