int subdev_8255_init(comedi_device *dev,comedi_subdevice *s,int (*cb)(int,int,int,unsigned long),unsigned long arg)
{
s->type=COMEDI_SUBD_DIO;
- s->subdev_flags=SDF_READABLE|SDF_WRITABLE|SDF_RT;
+ s->subdev_flags=SDF_READABLE|SDF_WRITABLE;
s->n_chan=24;
s->range_table=&range_digital;
s->maxdata=1;
s = dev->subdevices + 0;
/* ai subdevice */
s->type = COMEDI_SUBD_AI;
- s->subdev_flags = SDF_READABLE|SDF_RT;
+ s->subdev_flags = SDF_READABLE;
s->n_chan = 24;
s->maxdata = 0xffff;
s->insn_read = daqboard2000_ai_insn_read;
s = dev->subdevices + 1;
/* ao subdevice */
s->type = COMEDI_SUBD_AO;
- s->subdev_flags = SDF_WRITABLE|SDF_RT;
+ s->subdev_flags = SDF_WRITABLE;
s->n_chan = 2;
s->maxdata = 0xffff;
s->insn_read = daqboard2000_ao_insn_read;
/* ao subdevice */
s->type = COMEDI_SUBD_AO;
- s->subdev_flags = SDF_WRITABLE|SDF_RT;
+ s->subdev_flags = SDF_WRITABLE;
s->n_chan = 2;
s->len_chanlist = 2;
s->insn_read = pci20006_insn_read;
/* ai subdevice */
s->type = COMEDI_SUBD_AI;
- s->subdev_flags = SDF_READABLE|SDF_RT;
+ s->subdev_flags = SDF_READABLE;
s->n_chan = PCI20341_CHAN_NR;
s->len_chanlist = PCI20341_SCANLIST;
s->insn_read = pci20341_insn_read;
dev->read_subdev = s;
s->type=COMEDI_SUBD_DIO;
- s->subdev_flags=SDF_READABLE|SDF_WRITABLE|SDF_RT;
+ s->subdev_flags=SDF_READABLE|SDF_WRITABLE;
s->n_chan=32;
s->range_table=&range_digital;
s->maxdata=1;
s->type = COMEDI_SUBD_AI;
devpriv->sub_ai = s;
dev->read_subdev = s;
- s->subdev_flags = SDF_READABLE | SDF_RT;
+ s->subdev_flags = SDF_READABLE;
s->n_chan = this_board->n_aichan;
s->subdev_flags |= SDF_DIFF;
//printk (", %dchans DIFF DAC - %d", s->n_chan, i);
#if 0
case COMEDI_SUBD_AO:
- s->subdev_flags = SDF_WRITABLE | SDF_GROUND | SDF_RT;
+ s->subdev_flags = SDF_WRITABLE | SDF_GROUND;
s->n_chan = this_board->n_aochan;
s->maxdata = this_board->ao_maxdata;
s->len_chanlist = this_board->ao_chanlist;
break;
case COMEDI_SUBD_DI:
- s->subdev_flags = SDF_READABLE | SDF_RT;
+ s->subdev_flags = SDF_READABLE;
s->n_chan = this_board->n_dichan;
s->maxdata = 1;
s->len_chanlist = this_board->n_dichan;
break;
case COMEDI_SUBD_DO:
- s->subdev_flags = SDF_WRITABLE | SDF_RT;
+ s->subdev_flags = SDF_WRITABLE;
s->n_chan = this_board->n_dochan;
s->maxdata = 1;
s->len_chanlist = this_board->n_dochan;
}else{
dev->write_subdev = s;
s->type = COMEDI_SUBD_AO;
- s->subdev_flags = SDF_WRITABLE|SDF_GROUND|SDF_RT;
+ s->subdev_flags = SDF_WRITABLE|SDF_GROUND;
s->n_chan = this_board->n_aochan;
s->maxdata = this_board->ao_maxdata;
s->len_chanlist = this_board->ao_chanlist;
s->type = COMEDI_SUBD_UNUSED;
}else{
s->type = COMEDI_SUBD_DI;
- s->subdev_flags = SDF_READABLE|SDF_RT;
+ s->subdev_flags = SDF_READABLE;
s->n_chan = this_board->n_dichan;
s->maxdata = 1;
s->len_chanlist = this_board->n_dichan;
s->type = COMEDI_SUBD_UNUSED;
}else{
s->type = COMEDI_SUBD_DO;
- s->subdev_flags = SDF_WRITABLE|SDF_RT;
+ s->subdev_flags = SDF_WRITABLE;
s->n_chan = this_board->n_dochan;
s->maxdata = 1;
s->len_chanlist = this_board->n_dochan;