From: David Schleef Date: Thu, 25 Jul 2002 20:07:26 +0000 (+0000) Subject: Remove SDF_RT X-Git-Tag: r0_7_66~131 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd9b49de3b7d1ec17d1b84df80afccf6641c73c3;p=comedi.git Remove SDF_RT --- diff --git a/comedi/drivers/8255.c b/comedi/drivers/8255.c index 76992c17..205f097f 100644 --- a/comedi/drivers/8255.c +++ b/comedi/drivers/8255.c @@ -195,7 +195,7 @@ static void do_config(comedi_device *dev,comedi_subdevice *s) 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; diff --git a/comedi/drivers/daqboard2000.c b/comedi/drivers/daqboard2000.c index 76e2087d..ae11e191 100644 --- a/comedi/drivers/daqboard2000.c +++ b/comedi/drivers/daqboard2000.c @@ -799,7 +799,7 @@ static int daqboard2000_attach(comedi_device *dev, comedi_devconfig *it) 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; @@ -808,7 +808,7 @@ static int daqboard2000_attach(comedi_device *dev, comedi_devconfig *it) 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; diff --git a/comedi/drivers/ii_pci20kc.c b/comedi/drivers/ii_pci20kc.c index 4bcbfc36..80ad5e0c 100644 --- a/comedi/drivers/ii_pci20kc.c +++ b/comedi/drivers/ii_pci20kc.c @@ -301,7 +301,7 @@ static int pci20006_init(comedi_device * dev,comedi_subdevice *s, /* 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; @@ -384,7 +384,7 @@ static int pci20341_init(comedi_device * dev,comedi_subdevice *s, /* 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; diff --git a/comedi/drivers/ni_pcidio.c b/comedi/drivers/ni_pcidio.c index ca0e3ee8..3c733ae5 100644 --- a/comedi/drivers/ni_pcidio.c +++ b/comedi/drivers/ni_pcidio.c @@ -965,7 +965,7 @@ static int nidio_attach(comedi_device *dev,comedi_devconfig *it) 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; diff --git a/comedi/drivers/pcl816.c b/comedi/drivers/pcl816.c index f629db36..1056aa89 100644 --- a/comedi/drivers/pcl816.c +++ b/comedi/drivers/pcl816.c @@ -1160,7 +1160,7 @@ no_dma: 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); @@ -1178,7 +1178,7 @@ no_dma: #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; @@ -1186,7 +1186,7 @@ no_dma: 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; @@ -1194,7 +1194,7 @@ no_dma: 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; diff --git a/comedi/drivers/pcl818.c b/comedi/drivers/pcl818.c index 357588bd..08ccd159 100644 --- a/comedi/drivers/pcl818.c +++ b/comedi/drivers/pcl818.c @@ -1543,7 +1543,7 @@ no_dma: }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; @@ -1576,7 +1576,7 @@ no_dma: 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; @@ -1589,7 +1589,7 @@ no_dma: 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;