projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354caea
)
ni_labpc: Use shared IRQ for PCMCIA card.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 19 Jan 2011 10:54:39 +0000
(10:54 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 19 Jan 2011 10:54:39 +0000
(10:54 +0000)
comedi/drivers/ni_labpc.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_labpc.c
b/comedi/drivers/ni_labpc.c
index 802da0d7826cfbfc830a35a4d1ff619911db6899..93dab42930e4074a841f4a56545498daa21ae965 100644
(file)
--- a/
comedi/drivers/ni_labpc.c
+++ b/
comedi/drivers/ni_labpc.c
@@
-514,7
+514,8
@@
int labpc_common_attach(comedi_device * dev, unsigned long iobase,
/* grab our IRQ */
if (irq) {
isr_flags = 0;
- if (thisboard->bustype == pci_bustype)
+ if (thisboard->bustype == pci_bustype
+ || thisboard->bustype == pcmcia_bustype)
isr_flags |= IRQF_SHARED;
if (comedi_request_irq(irq, labpc_interrupt, isr_flags,
driver_labpc.driver_name, dev)) {