From: Frank Mori Hess Date: Wed, 3 Apr 2002 05:25:25 +0000 (+0000) Subject: testing alternate fifo offset X-Git-Tag: r0_7_64~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1facf111edf1364b399e3a24d5186922674ae35c;p=comedi.git testing alternate fifo offset --- diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index 37e542ce..a998ae0b 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -1237,7 +1237,7 @@ static int ai_rinsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn,lsa return -ETIME; } if(board(dev)->layout == LAYOUT_4020) - data[n] = readl(private(dev)->dio_counter_iobase) & 0xffff; + data[n] = readl(private(dev)->dio_counter_iobase + ADC_FIFO_REG) & 0xffff; else data[n] = readw(private(dev)->main_iobase + PIPE1_READ_REG); }