projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5a50bb
)
I broke it in the previous commit.
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 10 Apr 2008 17:18:11 +0000
(17:18 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 10 Apr 2008 17:18:11 +0000
(17:18 +0000)
comedi/drivers/amplc_pc236.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amplc_pc236.c
b/comedi/drivers/amplc_pc236.c
index 4224f46982ad59d194010e1045d64646f9193b3f..a1e5e695daec2202e9464aa8accbd0aa04316706 100644
(file)
--- a/
comedi/drivers/amplc_pc236.c
+++ b/
comedi/drivers/amplc_pc236.c
@@
-452,6
+452,7
@@
static int pc236_intr_check(comedi_device * dev)
comedi_spin_lock_irqsave(&dev->spinlock, flags);
if (devpriv->enable_irq) {
retval = 1;
+#ifdef CONFIG_COMEDI_PCI
if (devpriv->lcr_iobase) {
if ((inl(devpriv->lcr_iobase + PLX9052_INTCSR)
& PLX9052_INTCSR_LI1STAT_MASK)
@@
-463,6
+464,7
@@
static int pc236_intr_check(comedi_device * dev)
devpriv->lcr_iobase + PLX9052_INTCSR);
}
}
+#endif
}
comedi_spin_unlock_irqrestore(&dev->spinlock, flags);