From 1facf111edf1364b399e3a24d5186922674ae35c Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 3 Apr 2002 05:25:25 +0000 Subject: [PATCH] testing alternate fifo offset --- comedi/drivers/cb_pcidas64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.26.2