We do not have or provide routing information for all supported NI
boards.  Some of the boards for which we currently provide routing
information actually have identical routes to similar boards for which
we do provide routing information.  Rather than duplicating the routing
data for such boards (about 7 KiB per board), implement a mechanism to
allow an alternate board name to be specified for routing purposes in
case routing information cannot be found for the actual board name.

Specifically, we do not currently provide routing information for the
PCIe-6251 and PCIe-6259 boards.  Patch 4 allows them to use the routing
information provided for the PCI-6251 and PCI-6259 boards.

1) staging: comedi: ni_routes: Refactor ni_find_valid_routes()
2) staging: comedi: ni_routes: Allow alternate board name for routes
3) staging: comedi: ni_mio_common: Allow alternate board name for routes
4) staging: comedi: ni_pcimio: add routes for NI PCIe-6251 and PCIe-6259

 drivers/staging/comedi/drivers/ni_660x.c       |  2 +-
 drivers/staging/comedi/drivers/ni_mio_common.c |  1 +
 drivers/staging/comedi/drivers/ni_pcimio.c     |  2 +
 drivers/staging/comedi/drivers/ni_routes.c     | 63 +++++++++++++++++++++-----
 drivers/staging/comedi/drivers/ni_routes.h     |  1 +
 drivers/staging/comedi/drivers/ni_stc.h        |  1 +
 6 files changed, 58 insertions(+), 12 deletions(-)

Cc: Éric Piel <p...@delmic.com>
Cc: Spencer E. Olson <olso...@umich.edu>

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to