staging: comedi: add interface to ni routing table information
authorSpencer E. Olson <olsonse@umich.edu>
Wed, 3 Oct 2018 20:56:04 +0000 (14:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 13:36:04 +0000 (15:36 +0200)
commit4bb90c87abbe21ea469a242c8b350ea39a459c84
tree4f17ccd0333cb8df5a08b6bb7c16501b54f7f1f9
parentba932fcfee28b6a23bb8a903ce5a2210ac861721
staging: comedi: add interface to ni routing table information

Adds interface and associated unittests for accessing/looking-up/validating
the new ni routing table information.

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/Kconfig
drivers/staging/comedi/drivers/Makefile
drivers/staging/comedi/drivers/ni_routes.c [new file with mode: 0644]
drivers/staging/comedi/drivers/ni_routes.h [new file with mode: 0644]
drivers/staging/comedi/drivers/ni_stc.h
drivers/staging/comedi/drivers/tests/Makefile
drivers/staging/comedi/drivers/tests/ni_routes_test.c [new file with mode: 0644]