From: Frank Mori Hess Date: Thu, 26 Jul 2001 00:39:43 +0000 (+0000) Subject: Change from Michal Dobes. Enables shared interrupt for rtc, so multiple interrupt X-Git-Tag: r0_7_60~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c734f756a34630464334f29c2488c43f2d3aab3e;p=comedi.git Change from Michal Dobes. Enables shared interrupt for rtc, so multiple interrupt handlers can be attached to its interrupt. It's wierd, but what the heck. --- diff --git a/comedi/drivers/pcl818.c b/comedi/drivers/pcl818.c index b67c0e90..917f537f 100644 --- a/comedi/drivers/pcl818.c +++ b/comedi/drivers/pcl818.c @@ -1451,7 +1451,7 @@ static int pcl818_attach(comedi_device * dev, comedi_devconfig * it) devpriv->rtc_iobase=RTC_PORT(0); devpriv->rtc_iosize=RTC_IO_EXTENT; RTC_lock++; - if (!comedi_request_irq(RTC_IRQ, interrupt_pcl818_ai_mode13_dma_rtc, 0, "pcl818 DMA (RTC)", dev)) { + if (!comedi_request_irq(RTC_IRQ, interrupt_pcl818_ai_mode13_dma_rtc, SA_SHIRQ, "pcl818 DMA (RTC)", dev)) { devpriv->dma_rtc=1; devpriv->rtc_irq=RTC_IRQ; rt_printk(", dma_irq=%d", devpriv->rtc_irq);