projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c503e
)
testing alternate fifo offset
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 3 Apr 2002 05:25:25 +0000
(
05:25
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 3 Apr 2002 05:25:25 +0000
(
05:25
+0000)
comedi/drivers/cb_pcidas64.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas64.c
b/comedi/drivers/cb_pcidas64.c
index 37e542ced3a744a13b930bd9ed20466d8b9ac331..a998ae0b079b08bcd0197ff2e3850d8528aff5dd 100644
(file)
--- 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);
}