diff options
author | H Hartley Sweeten | 2015-02-23 22:57:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-03-02 03:51:50 +0100 |
commit | 96e5624411f99c532175df37c1d8ad8cd908e68a (patch) | |
tree | bfcac1fb4675b532886f022b3d8e0c9e42a5d195 /drivers/staging/comedi/Kconfig | |
parent | staging: comedi: amplc_pci224: convert driver to use the comedi_8254 module (diff) | |
download | kernel-qcow2-linux-96e5624411f99c532175df37c1d8ad8cd908e68a.tar.gz kernel-qcow2-linux-96e5624411f99c532175df37c1d8ad8cd908e68a.tar.xz kernel-qcow2-linux-96e5624411f99c532175df37c1d8ad8cd908e68a.zip |
staging: comedi: cb_pcidas: convert driver to use the comedi_8254 module
This driver uses two 8254 timers to generate the pacer clocks. One for analog
input acquisition and one for analog output data conversion. Convert it to use
the comedi_8254 module to provide support for the 8254 timers.
Use the comedi_device 'pacer' member for the 8254 timer used for analog input.
This data is freed automatically by the core during the detach of the driver.
Store the data for the 8254 timer used for analog output in the private data.
This data needs to be freed by the driver when it is detached.
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index 98a62e34b7b6..c15cce4859fe 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -918,6 +918,7 @@ config COMEDI_CB_PCIDAS64 config COMEDI_CB_PCIDAS tristate "MeasurementComputing PCI-DAS support" + select COMEDI_8254 select COMEDI_8255 ---help--- Enable support for ComputerBoards/MeasurementComputing PCI-DAS with |