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

staging: comedi: ni_at_a2150: fix block comments

Fix the checkpatch.pl issues:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments use a trailing */ on a separate line
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 8c0740ca
/* /*
comedi/drivers/ni_at_a2150.c * Comedi driver for National Instruments AT-A2150 boards
Driver for National Instruments AT-A2150 boards * 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) 2000 David A. Schleef <ds@schleef.org>
Copyright (C) 2000 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,
This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. */
*/
/*
Driver: ni_at_a2150
Description: National Instruments AT-A2150
Author: Frank Mori Hess
Status: works
Devices: [National Instruments] AT-A2150C (at_a2150c), AT-2150S (at_a2150s)
If you want to ac couple the board's inputs, use AREF_OTHER.
Configuration options:
[0] - I/O port base address
[1] - IRQ (optional, required for timed conversions)
[2] - DMA (optional, required for timed conversions)
*/
/* /*
Yet another driver for obsolete hardware brought to you by Frank Hess. * Driver: ni_at_a2150
Testing and debugging help provided by Dave Andruczyk. * Description: National Instruments AT-A2150
* Author: Frank Mori Hess
This driver supports the boards: * Status: works
* Devices: [National Instruments] AT-A2150C (at_a2150c), AT-2150S (at_a2150s)
AT-A2150C *
AT-A2150S * Configuration options:
* [0] - I/O port base address
The only difference is their master clock frequencies. * [1] - IRQ (optional, required for timed conversions)
* [2] - DMA (optional, required for timed conversions)
Options: *
[0] - base io address * Yet another driver for obsolete hardware brought to you by Frank Hess.
[1] - irq * Testing and debugging help provided by Dave Andruczyk.
[2] - dma channel *
* If you want to ac couple the board's inputs, use AREF_OTHER.
References (from ftp://ftp.natinst.com/support/manuals): *
* The only difference in the boards is their master clock frequencies.
320360.pdf AT-A2150 User Manual *
* References (from ftp://ftp.natinst.com/support/manuals):
TODO: * 320360.pdf AT-A2150 User Manual
*
analog level triggering * TODO:
TRIG_WAKE_EOS * - analog level triggering
* - TRIG_WAKE_EOS
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h> #include <linux/delay.h>
...@@ -536,8 +521,10 @@ static int a2150_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -536,8 +521,10 @@ static int a2150_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
comedi_isadma_program(desc); comedi_isadma_program(desc);
/* clear dma interrupt before enabling it, to try and get rid of that /*
* one spurious interrupt that has been happening */ * Clear dma interrupt before enabling it, to try and get rid of
* that one spurious interrupt that has been happening.
*/
outw(0x00, dev->iobase + DMA_TC_CLEAR_REG); outw(0x00, dev->iobase + DMA_TC_CLEAR_REG);
/* enable dma on card */ /* enable dma on card */
......
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