From 465ef848ce4b0cdc223723d0fa2711590b0487eb Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 19 Jan 2011 10:54:39 +0000 Subject: [PATCH] ni_labpc: Use shared IRQ for PCMCIA card. --- comedi/drivers/ni_labpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/ni_labpc.c b/comedi/drivers/ni_labpc.c index 802da0d7..93dab429 100644 --- 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)) { -- 2.26.2