From: Frank Mori Hess Date: Thu, 3 Jan 2002 02:05:53 +0000 (+0000) Subject: made poll() work on dma transfers again X-Git-Tag: r0_7_62~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22da48bada1f963f9a540ff31626d54e8465e217;p=comedi.git made poll() work on dma transfers again --- diff --git a/comedi/drivers/das1800.c b/comedi/drivers/das1800.c index 987fcd65..67009a00 100644 --- a/comedi/drivers/das1800.c +++ b/comedi/drivers/das1800.c @@ -930,8 +930,9 @@ static void das1800_ai_handler(comedi_device *dev) { // clear DMATC interrupt bit outb(CLEAR_INTR_MASK & ~DMATC, dev->iobase + DAS1800_STATUS); - das1800_handle_dma(dev, s); } + // look for data from dma transfer even if dma terminal count hasn't happened yet + das1800_handle_dma(dev, s); }else if(status & FHF) { // if fifo half full das1800_handle_fifo_half_full(dev, s);