projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ec11d
)
fix to bug in fifo overflow check I created with last revision
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 11 Jun 2001 22:38:34 +0000
(22:38 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 11 Jun 2001 22:38:34 +0000
(22:38 +0000)
comedi/drivers/das800.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das800.c
b/comedi/drivers/das800.c
index 78bed8b22fcc6cb917f64bdd91bc02d43fbff01b..278ff6c165b2ac909bdd6831b30431ef8a6fd303 100644
(file)
--- a/
comedi/drivers/das800.c
+++ b/
comedi/drivers/das800.c
@@
-397,6
+397,8
@@
static void das800_interrupt(int irq, void *d, struct pt_regs *regs)
if(thisboard->resolution == 12)
{
fifo_empty = dataPoint & FIFO_EMPTY;
+ fifo_overflow = dataPoint & FIFO_OVF;
+ if(fifo_overflow) break;
}else
{
fifo_empty = 0; // cio-das802/16 has no fifo empty status bit