projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7afc33
)
Allocate 4*PAGE_SIZE for write space instead of 2 pages
author
David Schleef
<ds@schleef.org>
Fri, 30 Aug 2002 22:23:50 +0000
(22:23 +0000)
committer
David Schleef
<ds@schleef.org>
Fri, 30 Aug 2002 22:23:50 +0000
(22:23 +0000)
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index 559d4ef979299387a7083011d095ac5763f2aa92..228775f3ab055e3a6f5ad409f97691540ece16c9 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-784,7
+784,7
@@
static void ni_ai_setup_MITE_dma(comedi_device *dev,comedi_cmd *cmd)
comedi_subdevice *s = dev->subdevices + 0;
/* mark 2 pages as being under DMA control */
- comedi_buf_write_alloc(s->async,
2
*PAGE_SIZE);
+ comedi_buf_write_alloc(s->async,
4
*PAGE_SIZE);
mite->current_link = 0;
mite->chan = 0;