From 22da48bada1f963f9a540ff31626d54e8465e217 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 3 Jan 2002 02:05:53 +0000 Subject: [PATCH] made poll() work on dma transfers again --- comedi/drivers/das1800.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.26.2