linux-kernel-test/drivers/staging/comedi
Ian Abbott 33cdce6293 staging: comedi: addi_apci_1032: conform to new INSN_CONFIG_DIGITAL_TRIG
Conform to the new definition of the `INSN_CONFIG_DIGITAL_TRIG`
configuration instruction.

Return an error if the 'trigger number' in `data[1]` is non-zero or if
the configuration operation in `data[2]` is not supported.  Deal with
the 'left-shift' amount in `data[3]`.

The trigger's input channels can only be configured as a set of rising
and falling edges ('OR' mode) or as a set of high and low levels ('AND'
mode).  Preserve the old input channels to the right of the 'left-shift'
value except when switching modes.

(The 'left-shift' support is a bit of an overkill for this driver since
the trigger only has 16 input channels.)

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-14 16:25:08 -08:00
..
drivers staging: comedi: addi_apci_1032: conform to new INSN_CONFIG_DIGITAL_TRIG 2012-11-14 16:25:08 -08:00
kcomedilib staging/comedi: Use dev_ printks in kcomedilib/kcomedilib_main.c 2012-10-22 12:47:56 -07:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: fix memory leak for saved channel list 2012-09-21 09:29:53 -07:00
comedi_internal.h
comedi.h staging: comedi: comedi.h: add clock sources for amplc_dio200 timer 2012-10-24 15:25:22 -07:00
comedidev.h staging: comedi: comedidev.h: make comedi_board() parameter const 2012-11-06 09:28:58 +01:00
comedilib.h
drivers.c staging: comedi: support auto_attach() for PCI and USB 2012-10-29 15:02:08 -07:00
Kconfig staging: comedi: Kconfig: remove VIRT_TO_BUS depends on 2012-11-13 15:33:54 -08:00
Makefile
proc.c
range.c staging: comedi: range: remove subdevice pointer math 2012-09-05 20:06:32 -07:00
TODO