int ai_speed; /* max conversion period in nanoseconds */
int resolution; /* bits of ai resolution */
int qram_len; /* length of card's channel / gain queue */
- int common; /* supports AREF_COMMON flag */
int do_n_chan; /* number of digital output channels */
int ao_ability; /* 0 == no analog out, 1 == basic analog out, 2 == waveform analog out */
int ao_n_chan; /* number of analog out channels */
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 4,
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 4,
.ai_speed = 20000,
.resolution = 16,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 20000,
.resolution = 16,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 2,
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 2,
.ao_n_chan = 2,
.ai_speed = 6250,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 2,
.ao_n_chan = 2,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 4,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 4,
.ai_speed = 10000,
.resolution = 16,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 0,
.ao_n_chan = 0,
.ai_speed = 10000,
.resolution = 16,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 1,
.ao_n_chan = 2,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 64,
- .common = 0,
.do_n_chan = 8,
.ao_ability = 1,
.ao_n_chan = 2,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 64,
- .common = 0,
.do_n_chan = 8,
.ao_ability = 1,
.ao_n_chan = 2,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 2,
.ao_n_chan = 2,
.ai_speed = 3000,
.resolution = 12,
.qram_len = 256,
- .common = 1,
.do_n_chan = 4,
.ao_ability = 2,
.ao_n_chan = 2,
s = &dev->subdevices[0];
s->type = COMEDI_SUBD_AI;
s->subdev_flags = SDF_READABLE | SDF_DIFF | SDF_GROUND;
- if (board->common)
+ if (board->id != DAS1800_ID_HC)
s->subdev_flags |= SDF_COMMON;
s->n_chan = board->qram_len;
s->maxdata = (1 << board->resolution) - 1;