s->n_chan = thisboard->ao_chans;
s->maxdata = (1 << thisboard->ao_bits) - 1;
s->range_table = thisboard->ranges;
- s->insn_write = &cb_pcidda_ao_winsn;
-// s->do_cmd = &cb_pcidda_ai_cmd;
- s->do_cmdtest = &cb_pcidda_ai_cmdtest;
+ s->insn_write = cb_pcidda_ao_winsn;
+// s->do_cmd = cb_pcidda_ai_cmd;
+ s->do_cmdtest = cb_pcidda_ai_cmdtest;
// two 8255 digital io subdevices
s = dev->subdevices + 1;
s->range_table = &rtd_ai_4520_range;
}
s->len_chanlist = thisboard->fifoLen;
- s->insn_read = &rtd_ai_rinsn;
- s->do_cmd = &rtd_ai_cmd;
- s->do_cmdtest = &rtd_ai_cmdtest;
- s->cancel = &rtd_ai_cancel;
+ s->insn_read = rtd_ai_rinsn;
+ s->do_cmd = rtd_ai_cmd;
+ s->do_cmdtest = rtd_ai_cmdtest;
+ s->cancel = rtd_ai_cancel;
s=dev->subdevices+1;
/* analog output subdevice */
s->n_chan = 2;
s->maxdata =(1<<thisboard->aiBits)-1;
s->range_table = &rtd_ao_range;
- s->insn_write = &rtd_ao_winsn;
- s->insn_read = &rtd_ao_rinsn;
+ s->insn_write = rtd_ao_winsn;
+ s->insn_read = rtd_ao_rinsn;
s=dev->subdevices+2;
/* digital i/o subdevice */
//s->insn_config=rtd_gpct_insn_config;
s->n_chan=3;
s->maxdata=0xffff;
-
+
/* check if our interrupt is available and get it */
dev->irq = devpriv->pci_dev->irq;
if(dev->irq>0){
s->range_table=&range_bipolar10;
s->len_chanlist=16; /* This is the maximum chanlist length that
the board can handle */
- s->insn_read = &skel_ai_rinsn;
- //s->do_cmd = &skel_ai_cmd;
+ s->insn_read = skel_ai_rinsn;
+ //s->do_cmd = skel_ai_cmd;
s->do_cmdtest = skel_ai_cmdtest;
s=dev->subdevices+1;