projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a5719
)
Change from Michal Dobes. Enables shared interrupt for rtc, so multiple interrupt
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 26 Jul 2001 00:39:43 +0000
(
00:39
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 26 Jul 2001 00:39:43 +0000
(
00:39
+0000)
handlers can be attached to its interrupt. It's wierd, but what the heck.
comedi/drivers/pcl818.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/pcl818.c
b/comedi/drivers/pcl818.c
index b67c0e90aae260e18a764af8d68407143406d52c..917f537f4548798adf179e60dc3bf7b032e9300d 100644
(file)
--- 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);