Commit 3eb25177 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: adq12b: tidy up multi-line comments

Reformat the multi-line comments in the kernel CodingStyle. And
refactor them to follow the normal format for comedi drivers.
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 e81ca3de
/* /*
comedi/drivers/adq12b.c * adq12b.c
driver for MicroAxial ADQ12-B data acquisition and control card * Driver for MicroAxial ADQ12-B data acquisition and control card
* written by jeremy theler <thelerg@ib.cnea.gov.ar>
COMEDI - Linux Control and Measurement Device Interface * instituto balseiro
Copyright (C) 2000 David A. Schleef <ds@schleef.org> * commission nacional de energia atomica
* universidad nacional de cuyo
This program is free software; you can redistribute it and/or modify * argentina
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or * COMEDI - Linux Control and Measurement Device Interface
(at your option) any later version. * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
*
This program is distributed in the hope that it will be useful, * This program is free software; you can redistribute it and/or modify
but WITHOUT ANY WARRANTY; without even the implied warranty of * it under the terms of the GNU General Public License as published by
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * the Free Software Foundation; either version 2 of the License, or
GNU General Public License for more details. * (at your option) any later version.
*/ *
/* * This program is distributed in the hope that it will be useful,
Driver: adq12b * but WITHOUT ANY WARRANTY; without even the implied warranty of
Description: driver for MicroAxial ADQ12-B data acquisition and control card * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Devices: [MicroAxial] ADQ12-B (adq12b) * GNU General Public License for more details.
Author: jeremy theler <thelerg@ib.cnea.gov.ar> */
Updated: Thu, 21 Feb 2008 02:56:27 -0300
Status: works
Driver for the acquisition card ADQ12-B (without any add-on).
- Analog input is subdevice 0 (16 channels single-ended or 8 differential)
- Digital input is subdevice 1 (5 channels)
- Digital output is subdevice 1 (8 channels)
- The PACER is not supported in this version
If you do not specify any options, they will default to
# comedi_config /dev/comedi0 adq12b 0x300,0,0
option 1: I/O base address. The following table is provided as a help
of the hardware jumpers.
address jumper JADR
0x300 1 (factory default)
0x320 2
0x340 3
0x360 4
0x380 5
0x3A0 6
option 2: unipolar/bipolar ADC selection: 0 -> bipolar, 1 -> unipolar
selection comedi_config option JUB /*
bipolar 0 2-3 (factory default) * Driver: adq12b
unipolar 1 1-2 * Description: Driver for MicroAxial ADQ12-B data acquisition and control card
* Devices: [MicroAxial] ADQ12-B (adq12b)
option 3: single-ended/differential AI selection: 0 -> SE, 1 -> differential * Author: jeremy theler <thelerg@ib.cnea.gov.ar>
* Updated: Thu, 21 Feb 2008 02:56:27 -0300
selection comedi_config option JCHA JCHB * Status: works
single-ended 0 1-2 1-2 (factory default) *
differential 1 2-3 2-3 * Configuration options:
* [0] - I/O base address (set with hardware jumpers)
written by jeremy theler <thelerg@ib.cnea.gov.ar> * address jumper JADR
* 0x300 1 (factory default)
instituto balseiro * 0x320 2
commission nacional de energia atomica * 0x340 3
universidad nacional de cuyo * 0x360 4
argentina * 0x380 5
* 0x3A0 6
21-feb-2008 * [1] - Analog Input unipolar/bipolar selection
+ changed supported devices string (missused the [] and ()) * selection option JUB
* bipolar 0 2-3 (factory default)
13-oct-2007 * unipolar 1 1-2
+ first try * [2] - Analog Input single-ended/differential selection
*/ * selection option JCHA JCHB
* single-ended 0 1-2 1-2 (factory default)
* differential 1 2-3 2-3
*
* Driver for the acquisition card ADQ12-B (without any add-on).
*
* - Analog input is subdevice 0 (16 channels single-ended or 8 differential)
* - Digital input is subdevice 1 (5 channels)
* - Digital output is subdevice 1 (8 channels)
* - The PACER is not supported in this version
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h> #include <linux/delay.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