]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_mio_common: implement new routing for TRIG_EXT
authorSpencer E. Olson <olsonse@umich.edu>
Wed, 3 Oct 2018 20:56:05 +0000 (14:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 13:36:04 +0000 (15:36 +0200)
commit5c98194b7ae2ecbec72228b4fab453701c0d4808
tree08ca536feb8add4689d7ec6d8a819747feb1dc8d
parent4ec418dcccf3f457249d28627abc002cccbf9bde
staging: comedi: ni_mio_common: implement new routing for TRIG_EXT

Use new signal routing capability for all comedi command *_src == TRIG_EXT
options.  This new interface allows the user specify signals and terminals
as TRIG_EXT sources using a very consistent naming convention. Furthermore,
the interface allows backwards compatibility to prior behavior of
specifying register-level (or near register-level) values as *_arg options
when *_src == TRIG_EXT.

Annotates and updates tables of register values to reflect this new
implementation status.

Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c