Add comedi_event() call in mite interrupt handler
authorDavid Schleef <ds@schleef.org>
Mon, 4 Feb 2002 00:23:48 +0000 (00:23 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 4 Feb 2002 00:23:48 +0000 (00:23 +0000)
comedi/drivers/ni_mio_common.c

index 0f609f4c52c34d63198fd8f6ec8dcf072d620d0e..fe3bb480c68f8368a1d53f885c9ba6479fdf1f19 100644 (file)
@@ -409,7 +409,8 @@ static void mite_handle_interrupt(comedi_device *dev,unsigned int m_status)
                ni_handle_block_dma(dev);
        }
        MDPRINTK("exit mite_handle_interrupt\n");
-       return;
+
+       comedi_event(dev,s,s->async->events);
 }
 
 #endif //PCIDMA
@@ -703,9 +704,7 @@ static void ni_handle_block_dma(comedi_device *dev)
        comedi_subdevice *s = dev->subdevices + 0;
 
        MDPRINTK("ni_handle_block_dma\n");
-       //mite_dump_regs(devpriv->mite);  
        mite_dma_disarm(devpriv->mite);
-       //TIM 4/17/01 win_out(0x0000,Interrupt_A_Enable_Register);
        ni_set_bits(dev, Interrupt_A_Enable_Register,
                AI_SC_TC_Interrupt_Enable | AI_START1_Interrupt_Enable|
                AI_START2_Interrupt_Enable| AI_START_Interrupt_Enable|