struct mite_struct *mite = devpriv->mite;
#endif
- MDPRINTK("ni_E_Interrupt\n");
/*
If you want to use windowed registers in an interrupt, it is
important that you restore the window address register. If
ni_mio_print_status_b(b_status);
#endif
#ifdef PCIDMA
- //rt_printk("mite status=0x%08x\n",m_status);
if(m_status&CHSR_INT)mite_handle_interrupt(dev,m_status);
#endif
if(a_status&Interrupt_A_St)handle_a_interrupt(dev,a_status);
if(b_status&Interrupt_B_St)handle_b_interrupt(dev,b_status);
win_restore(wsave);
- MDPRINTK("exit ni_E_Interrupt\n");
}
#ifdef PCIDMA
#ifdef PCIDMA
ni_ai_setup_MITE_dma(dev,cmd,mode1);
-#else
+#endif
switch(cmd->stop_src){
case TRIG_COUNT:
/* stage number of scans */
break;
}
-#endif
switch(cmd->scan_begin_src){
case TRIG_TIMER: