From 025cbe8957ea25757b92d9a951dc154e04060867 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 7 Jun 2002 00:02:40 +0000 Subject: [PATCH] Ignore more MITE errors, and don't call disable_irq() when something goes wrong. It's not nice to our neighbors. --- comedi/drivers/ni_mio_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 73135df5..77c93a7d 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -466,13 +466,13 @@ static void handle_a_interrupt(comedi_device *dev,unsigned short status, CHAN_OFFSET(0)); } - if(m_status & ~(CHSR_INT | CHSR_LINKC | CHSR_DONE | CHSR_MRDY | CHSR_DRDY | CHSR_DRQ1 | CHSR_DRQ0 | CHSR_ERROR | CHSR_SABORT)){ - printk("unknown mite interrupt, disabling IRQ (m_status=%08x)\n", m_status); + if(m_status & ~(CHSR_INT | CHSR_LINKC | CHSR_DONE | CHSR_MRDY | CHSR_DRDY | CHSR_DRQ1 | CHSR_DRQ0 | CHSR_ERROR | CHSR_SABORT | CHSR_XFERR | CHSR_LxERR_mask)){ + printk("unknown mite interrupt, ack! (m_status=%08x)\n", m_status); //mite_print_chsr(m_status); mite_dma_disarm(devpriv->mite); writel(CHOR_DMARESET, devpriv->mite->mite_io_addr + MITE_CHOR + CHAN_OFFSET(0)); - disable_irq(dev->irq); + //disable_irq(dev->irq); } #endif -- 2.26.2