Commit 7e573494 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: das16m1: tidy up copyright and comedi comments

Fix the checkpatch.pl issue:
WARNING: Block comments use * on subsequent lines
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 82ce9365
/* /*
comedi/drivers/das16m1.c * Comedi driver for CIO-DAS16/M1
CIO-DAS16/M1 driver * Author: Frank Mori Hess, based on code from the das16 driver.
Author: Frank Mori Hess, based on code from the das16 * Copyright (C) 2001 Frank Mori Hess <fmhess@users.sourceforge.net>
driver. *
Copyright (C) 2001 Frank Mori Hess <fmhess@users.sourceforge.net> * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org>
COMEDI - Linux Control and Measurement Device Interface *
Copyright (C) 2000 David A. Schleef <ds@schleef.org> * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify * the Free Software Foundation; either version 2 of the License, or
it under the terms of the GNU General Public License as published by * (at your option) any later version.
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
This program is distributed in the hope that it will be useful, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
but WITHOUT ANY WARRANTY; without even the implied warranty of * GNU General Public License for more details.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
GNU General Public License for more details.
*/
/* /*
Driver: das16m1 * Driver: das16m1
Description: CIO-DAS16/M1 * Description: CIO-DAS16/M1
Author: Frank Mori Hess <fmhess@users.sourceforge.net> * Author: Frank Mori Hess <fmhess@users.sourceforge.net>
Devices: [Measurement Computing] CIO-DAS16/M1 (das16m1) * Devices: [Measurement Computing] CIO-DAS16/M1 (das16m1)
Status: works * Status: works
*
This driver supports a single board - the CIO-DAS16/M1. * This driver supports a single board - the CIO-DAS16/M1. As far as I know,
As far as I know, there are no other boards that have * there are no other boards that have the same register layout. Even the
the same register layout. Even the CIO-DAS16/M1/16 is * CIO-DAS16/M1/16 is significantly different.
significantly different. *
* I was _barely_ able to reach the full 1 MHz capability of this board, using
I was _barely_ able to reach the full 1 MHz capability * a hard real-time interrupt (set the TRIG_RT flag in your struct comedi_cmd
of this board, using a hard real-time interrupt * and use rtlinux or RTAI). The board can't do dma, so the bottleneck is
(set the TRIG_RT flag in your struct comedi_cmd and use * pulling the data across the ISA bus. I timed the interrupt handler, and it
rtlinux or RTAI). The board can't do dma, so the bottleneck is * took my computer ~470 microseconds to pull 512 samples from the board. So
pulling the data across the ISA bus. I timed the interrupt * at 1 Mhz sampling rate, expect your CPU to be spending almost all of its
handler, and it took my computer ~470 microseconds to pull 512 * time in the interrupt handler.
samples from the board. So at 1 Mhz sampling rate, *
expect your CPU to be spending almost all of its * This board has some unusual restrictions for its channel/gain list. If the
time in the interrupt handler. * list has 2 or more channels in it, then two conditions must be satisfied:
* (1) - even/odd channels must appear at even/odd indices in the list
This board has some unusual restrictions for its channel/gain list. If the * (2) - the list must have an even number of entries.
list has 2 or more channels in it, then two conditions must be satisfied: *
(1) - even/odd channels must appear at even/odd indices in the list * Configuration options:
(2) - the list must have an even number of entries. * [0] - base io address
* [1] - irq (optional, but you probably want it)
Options: *
[0] - base io address * irq can be omitted, although the cmd interface will not work without it.
[1] - irq (optional, but you probably want it) */
irq can be omitted, although the cmd interface will not work without it.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment