staging: comedi: das08: remove board register map comments

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>
This commit is contained in:
Ian Abbott 2015-06-05 18:30:26 +01:00 committed by Greg Kroah-Hartman
parent 6814b4a3fd
commit 646e70c5d1

View File

@ -26,22 +26,6 @@
#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:
@ -86,22 +70,6 @@
*/
#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) */
@ -114,26 +82,6 @@
*/
#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,