staging: comedi: das08: remove board register map comments
authorIan Abbott <abbotti@mev.co.uk>
Fri, 5 Jun 2015 17:30:26 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:06:41 +0000 (17:06 -0700)
The "das08" module contains some comments outlining the register maps
for some of the ISA boards supported by this module in combination with
the "das08_isa" module.  The comments are somewhat sporadically placed,
don't detail all the boards, and don't use the preferred block comment
style.  If anywhere, they should probably be in the "das08_isa" module.
Just remove them.  The comments for the register macros indicate which
boards they apply to anyway, so we don't lose much information.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c

index 837c96892fcbf554d58b58d947f9bb507b374de9..a4b21c6ac762c6fb13aef5dcf895930592f64fb8 100644 (file)
 #include "comedi_8254.h"
 #include "das08.h"
 
-/*
-    cio-das08.pdf
-
-  "isa-das08"
-
-  0    a/d bits 0-3            start 8 bit
-  1    a/d bits 4-11           start 12 bit
-  2    eoc, ip1-3, irq, mux    op1-4, inte, mux
-  3    unused                  unused
-  4567 8254
-  89ab 8255
-
-  requires hard-wiring for async ai
-
-*/
-
 /*
  * Data format of DAS08_AI_LSB_REG and DAS08_AI_MSB_REG depends on
  * 'ai_encoding' member of board structure:
  */
 #define DAS08_GAIN_REG         0x03
 
-/*
-    cio-das08jr.pdf
-
-  "das08/jr-ao"
-
-  0    a/d bits 0-3            unused
-  1    a/d bits 4-11           start 12 bit
-  2    eoc, mux                mux
-  3    di                      do
-  4    unused                  ao0_lsb
-  5    unused                  ao0_msb
-  6    unused                  ao1_lsb
-  7    unused                  ao1_msb
-
-*/
-
 #define DAS08JR_DI_REG         0x03    /* (R) digital inputs ("JR" boards) */
 #define DAS08JR_DO_REG         0x03    /* (W) digital outputs ("JR" boards) */
 /* (W) analog output l.s.b. registers for 2 channels ("JR" boards) */
  */
 #define DAS08JR_AO_UPDATE_REG  0x03
 
-/*
-    cio-das08_aox.pdf
-
-  "das08-aoh"
-  "das08-aol"
-  "das08-aom"
-
-  0    a/d bits 0-3            start 8 bit
-  1    a/d bits 4-11           start 12 bit
-  2    eoc, ip1-3, irq, mux    op1-4, inte, mux
-  3    mux, gain status        gain control
-  4567 8254
-  8    unused                  ao0_lsb
-  9    unused                  ao0_msb
-  a    unused                  ao1_lsb
-  b    unused                  ao1_msb
-  89ab
-  cdef 8255
-*/
-
 /* (W) analog output l.s.b. registers for 2 channels ("AOx" boards) */
 #define DAS08AOX_AO_LSB_REG(x) ((x) ? 0x0a : 0x08)
 /* (W) analog output m.s.b. registers for 2 channels ("AOx" boards) */
@@ -189,21 +137,7 @@ static const struct comedi_lrange range_das08_pgm = {
                UNI_RANGE(0.1),
                UNI_RANGE(0.01)
        }
-};                             /*
-                                  cio-das08jr.pdf
-
-                                  "das08/jr-ao"
-
-                                  0 a/d bits 0-3            unused
-                                  1 a/d bits 4-11           start 12 bit
-                                  2 eoc, mux                mux
-                                  3 di                      do
-                                  4 unused                  ao0_lsb
-                                  5 unused                  ao0_msb
-                                  6 unused                  ao1_lsb
-                                  7 unused                  ao1_msb
-
-                                */
+};
 
 static const struct comedi_lrange *const das08_ai_lranges[] = {
        [das08_pg_none]         = &range_unknown,