int n_aichan; /* num of A/D chans */
int n_aichand; /* num of A/D chans in diff mode */
int n_aichanlist; /* len of chanlist */
- int n_aochan; /* num of D/A chans */
int ai_maxdata; /* resolution of A/D */
const struct comedi_lrange *rangelist_ai; /* rangelist for A/D */
unsigned int ai_ns_min; /* max sample speed of card v ns */
.n_aichan = 16,
.n_aichand = 8,
.n_aichanlist = PCI9118_CHANLEN,
- .n_aochan = 2,
.ai_maxdata = 0x0fff,
.rangelist_ai = &range_pci9118dg_hr,
.ai_ns_min = 3000,
.n_aichan = 16,
.n_aichand = 8,
.n_aichanlist = PCI9118_CHANLEN,
- .n_aochan = 2,
.ai_maxdata = 0x0fff,
.rangelist_ai = &range_pci9118hg,
.ai_ns_min = 3000,
.n_aichan = 16,
.n_aichand = 8,
.n_aichanlist = PCI9118_CHANLEN,
- .n_aochan = 2,
.ai_maxdata = 0xffff,
.rangelist_ai = &range_pci9118dg_hr,
.ai_ns_min = 10000,
s = &dev->subdevices[1];
s->type = COMEDI_SUBD_AO;
s->subdev_flags = SDF_WRITABLE | SDF_GROUND | SDF_COMMON;
- s->n_chan = this_board->n_aochan;
+ s->n_chan = 2;
s->maxdata = 0x0fff;
- s->len_chanlist = this_board->n_aochan;
s->range_table = &range_bipolar10;
s->insn_write = pci9118_insn_write_ao;
s->insn_read = pci9118_insn_read_ao;