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

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

Reformat the multi-line comments in the kernel CodingStyle.
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 dbabedf3
/* /*
comedi/drivers/cb_pcidas.c * cb_pcidas.c
* Developed by Ivan Martinez and Frank Mori Hess, with valuable help from
Developed by Ivan Martinez and Frank Mori Hess, with valuable help from * David Schleef and the rest of the Comedi developers comunity.
David Schleef and the rest of the Comedi developers comunity. *
* Copyright (C) 2001-2003 Ivan Martinez <imr@oersted.dtu.dk>
Copyright (C) 2001-2003 Ivan Martinez <imr@oersted.dtu.dk> * Copyright (C) 2001,2002 Frank Mori Hess <fmhess@users.sourceforge.net>
Copyright (C) 2001,2002 Frank Mori Hess <fmhess@users.sourceforge.net> *
* COMEDI - Linux Control and Measurement Device Interface
COMEDI - Linux Control and Measurement Device Interface * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> *
* This program is free software; you can redistribute it and/or modify
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
it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or
the Free Software Foundation; either version 2 of the License, or * (at your option) any later version.
(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
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/* /*
Driver: cb_pcidas * Driver: cb_pcidas
Description: MeasurementComputing PCI-DAS series * Description: MeasurementComputing PCI-DAS series
with the AMCC S5933 PCI controller * with the AMCC S5933 PCI controller
Author: Ivan Martinez <imr@oersted.dtu.dk>, * Devices: [Measurement Computing] PCI-DAS1602/16 (cb_pcidas),
Frank Mori Hess <fmhess@users.sourceforge.net> * PCI-DAS1602/16jr, PCI-DAS1602/12, PCI-DAS1200, PCI-DAS1200jr,
Updated: 2003-3-11 * PCI-DAS1000, PCI-DAS1001, PCI_DAS1002
Devices: [Measurement Computing] PCI-DAS1602/16 (cb_pcidas), * Author: Ivan Martinez <imr@oersted.dtu.dk>,
PCI-DAS1602/16jr, PCI-DAS1602/12, PCI-DAS1200, PCI-DAS1200jr, * Frank Mori Hess <fmhess@users.sourceforge.net>
PCI-DAS1000, PCI-DAS1001, PCI_DAS1002 * Updated: 2003-3-11
*
Status: * Status:
There are many reports of the driver being used with most of the * There are many reports of the driver being used with most of the
supported cards. Despite no detailed log is maintained, it can * supported cards. Despite no detailed log is maintained, it can
be said that the driver is quite tested and stable. * be said that the driver is quite tested and stable.
*
The boards may be autocalibrated using the comedi_calibrate * The boards may be autocalibrated using the comedi_calibrate
utility. * utility.
*
Configuration options: not applicable, uses PCI auto config * Configuration options: not applicable, uses PCI auto config
*
For commands, the scanned channels must be consecutive * For commands, the scanned channels must be consecutive
(i.e. 4-5-6-7, 2-3-4,...), and must all have the same * (i.e. 4-5-6-7, 2-3-4,...), and must all have the same
range and aref. * range and aref.
*
AI Triggering: * AI Triggering:
For start_src == TRIG_EXT, the A/D EXTERNAL TRIGGER IN (pin 45) is used. * For start_src == TRIG_EXT, the A/D EXTERNAL TRIGGER IN (pin 45) is used.
For 1602 series, the start_arg is interpreted as follows: * For 1602 series, the start_arg is interpreted as follows:
start_arg == 0 => gated trigger (level high) * start_arg == 0 => gated trigger (level high)
start_arg == CR_INVERT => gated trigger (level low) * start_arg == CR_INVERT => gated trigger (level low)
start_arg == CR_EDGE => Rising edge * start_arg == CR_EDGE => Rising edge
start_arg == CR_EDGE | CR_INVERT => Falling edge * start_arg == CR_EDGE | CR_INVERT => Falling edge
For the other boards the trigger will be done on rising edge * For the other boards the trigger will be done on rising edge
*/ */
/*
TODO:
analog triggering on 1602 series /*
*/ * TODO:
* analog triggering on 1602 series
*/
#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