On 2014/08/07 08:10 AM, Luca Ellero wrote: > Enable support for the National Instruments USB-6501 module. > > The NI USB-6501 is a Full-Speed USB 2.0 (12 Mbit/s) device that > provides 24 digital I/O lines channels and one 32-bit counter. > > This is a preliminary version: > GPIO: works > counter: doesn't work > > Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx> > --- > Changes for v2: > - rename file to ni_usb6501 > - migrate comments to the standard block comment format > - fix checkpatch.pl --strict checks: > "Please don't use multiple blank lines" > - add verbose config description to avoid checkpatch warning: > "please write a paragraph that describes the config symbol fully" > - correct some spelling mistakes > > Changes for v3: > - fix extra space characters > - remove some useless blanks lines > - rewrite ni6501_dio_insn_bits() as suggested by Dan Carpenter (replace redundant code with for loops) > > drivers/staging/comedi/Kconfig | 11 + > drivers/staging/comedi/drivers/Makefile | 1 + > drivers/staging/comedi/drivers/ni_usb6501.c | 425 +++++++++++++++++++++++++++ > 3 files changed, 437 insertions(+) > create mode 100644 drivers/staging/comedi/drivers/ni_usb6501.c Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx> -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel