PCMCIA can share interrupts, too
authorDavid Schleef <ds@schleef.org>
Sat, 16 Feb 2002 22:46:55 +0000 (22:46 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 16 Feb 2002 22:46:55 +0000 (22:46 +0000)
comedi/drivers/ni_labpc.c

index 9561d3773bc453a8d4b8001976ced3fd5d632715..0a19819552b1232b35bf8bfbf27e7ceb9e786aee 100644 (file)
@@ -612,7 +612,8 @@ static int labpc_attach(comedi_device *dev, comedi_devconfig *it)
        if(irq)
        {
                isr_flags = 0;
-               if(thisboard->bustype == pci_bustype)
+               if((thisboard->bustype == pci_bustype) ||
+                  (thisboard->bustype == pcmcia_bustype))
                        isr_flags |= SA_SHIRQ;
                if(comedi_request_irq( irq, labpc_interrupt, isr_flags, driver_labpc.driver_name, dev))
                {