Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c64ef47 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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



Tidy up the multi-line comments at the beginning of the file to follow
the 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 fc00fbc9
Loading
Loading
Loading
Loading
+61 −51
Original line number Original line Diff line number Diff line
/*
/*
   comedi/drivers/dt282x.c
 * dt282x.c
   Hardware driver for Data Translation DT2821 series
 * Comedi driver for Data Translation DT2821 series

 *
   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,
 * 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: dt282x
 * Driver: dt282x
Description: Data Translation DT2821 series (including DT-EZ)
 * Description: Data Translation DT2821 series (including DT-EZ)
Author: ds
 * Author: ds
Devices: [Data Translation] DT2821 (dt2821),
 * Devices: (Data Translation) DT2821 [dt2821]
  DT2821-F-16SE (dt2821-f), DT2821-F-8DI (dt2821-f),
 *	    (Data Translation) DT2821-F-16SE [dt2821-f]
  DT2821-G-16SE (dt2821-f), DT2821-G-8DI (dt2821-g),
 *	    (Data Translation) DT2821-F-8DI [dt2821-f]
  DT2823 (dt2823),
 *	    (Data Translation) DT2821-G-16SE [dt2821-g]
  DT2824-PGH (dt2824-pgh), DT2824-PGL (dt2824-pgl), DT2825 (dt2825),
 *	    (Data Translation) DT2821-G-8DI [dt2821-g]
  DT2827 (dt2827), DT2828 (dt2828), DT21-EZ (dt21-ez), DT23-EZ (dt23-ez),
 *	    (Data Translation) DT2823 [dt2823]
  DT24-EZ (dt24-ez), DT24-EZ-PGL (dt24-ez-pgl)
 *	    (Data Translation) DT2824-PGH [dt2824-pgh]
Status: complete
 *	    (Data Translation) DT2824-PGL [dt2824-pgl]
Updated: Wed, 22 Aug 2001 17:11:34 -0700
 *	    (Data Translation) DT2825 [dt2825]

 *	    (Data Translation) DT2827 [dt2827]
Configuration options:
 *	    (Data Translation) DT2828 [dt2828]
  [0] - I/O port base address
 *	    (Data Translation) DT2928 [dt2829]
  [1] - IRQ
 *	    (Data Translation) DT21-EZ [dt21-ez]
  [2] - DMA 1
 *	    (Data Translation) DT23-EZ [dt23-ez]
  [3] - DMA 2
 *	    (Data Translation) DT24-EZ [dt24-ez]
  [4] - AI jumpered for 0=single ended, 1=differential
 *	    (Data Translation) DT24-EZ-PGL [dt24-ez-pgl]
  [5] - AI jumpered for 0=straight binary, 1=2's complement
 * Status: complete
  [6] - AO 0 jumpered for 0=straight binary, 1=2's complement
 * Updated: Wed, 22 Aug 2001 17:11:34 -0700
  [7] - AO 1 jumpered for 0=straight binary, 1=2's complement
 *
  [8] - AI jumpered for 0=[-10,10]V, 1=[0,10], 2=[-5,5], 3=[0,5]
 * Configuration options:
  [9] - AO channel 0 range (deprecated, see below)
 *   [0] - I/O port base address
  [10]- AO channel 1 range (deprecated, see below)
 *   [1] - IRQ (optional, required for async command support)

 *   [2] - DMA 1 (optional, required for async command support)
Notes:
 *   [3] - DMA 2 (optional, required for async command support)
  - AO commands might be broken.
 *   [4] - AI jumpered for 0=single ended, 1=differential
  - If you try to run a command on both the AI and AO subdevices
 *   [5] - AI jumpered for 0=straight binary, 1=2's complement
    simultaneously, bad things will happen.  The driver needs to
 *   [6] - AO 0 jumpered for 0=straight binary, 1=2's complement
    be fixed to check for this situation and return an error.
 *   [7] - AO 1 jumpered for 0=straight binary, 1=2's complement
  - AO range is not programmable. The AO subdevice has a range_table
 *   [8] - AI jumpered for 0=[-10,10]V, 1=[0,10], 2=[-5,5], 3=[0,5]
    containing all the possible analog output ranges. Use the range
 *   [9] - AO channel 0 range (deprecated, see below)
    that matches your board configuration to convert between data
 *   [10]- AO channel 1 range (deprecated, see below)
    values and physical units.
 *
 * Notes:
 *   - AO commands might be broken.
 *   - If you try to run a command on both the AI and AO subdevices
 *     simultaneously, bad things will happen.  The driver needs to
 *     be fixed to check for this situation and return an error.
 *   - AO range is not programmable. The AO subdevice has a range_table
 *     containing all the possible analog output ranges. Use the range
 *     that matches your board configuration to convert between data
 *     values and physical units.
 */
 */


#include <linux/module.h>
#include <linux/module.h>