Allocate 4*PAGE_SIZE for write space instead of 2 pages
authorDavid Schleef <ds@schleef.org>
Fri, 30 Aug 2002 22:23:50 +0000 (22:23 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 30 Aug 2002 22:23:50 +0000 (22:23 +0000)
comedi/drivers/ni_mio_common.c

index 559d4ef979299387a7083011d095ac5763f2aa92..228775f3ab055e3a6f5ad409f97691540ece16c9 100644 (file)
@@ -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;