Got rid of obsolete IRQ_INFO2_VALID
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 11 Jun 2006 21:05:57 +0000 (21:05 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 11 Jun 2006 21:05:57 +0000 (21:05 +0000)
comedi/drivers/cb_das16_cs.c
comedi/drivers/das08_cs.c
comedi/drivers/ni_daq_dio24.c
comedi/drivers/ni_mio_cs.c
comedi/drivers/quatech_daqp_cs.c

index deb3095093f2350f091834026d2eff5c7ab086d1..6ef4bfcb8e3a97acaead6a5c86ae8a507b61e454 100644 (file)
@@ -723,7 +723,7 @@ static int das16cs_pcmcia_attach(struct pcmcia_device *p_dev)
     /* Initialize the dev_link_t structure */
     /* Interrupt setup */
     link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
-    link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
+    link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->irq.Handler = NULL;
 
     /*
index 3d6a30d3a06a49e0d0df81e5c8a70256122a3080..b3da02357df0c9924098ab6ac60f37ece225fab9 100644 (file)
@@ -230,7 +230,7 @@ static int das08_pcmcia_attach(struct pcmcia_device *p_dev)
 
     /* Interrupt setup */
     link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
-    link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
+    link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->irq.Handler = NULL;
 
     /*
index 3263550c50d9586378322a6231344fc815278273..ee816342f9fa98a2a8e962c5fd1f0ddc61fadc9a 100644 (file)
@@ -314,7 +314,7 @@ static int dio24_cs_attach(struct pcmcia_device *p_dev)
 
     /* Interrupt setup */
     link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
-    link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
+    link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->irq.Handler = NULL;
 
     /*
index 4201829b97d845416ef4360e69c8e18b8e287944..dcf113c04d43361fd282251909296688b9c052ff 100644 (file)
@@ -271,7 +271,7 @@ static int cs_attach(struct pcmcia_device *p_dev)
        link->io.Attributes1 = IO_DATA_PATH_WIDTH_16;
        link->io.NumPorts1 = 16;
        link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
-       link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
+       link->irq.IRQInfo1 = IRQ_LEVEL_ID;
        link->conf.Attributes = CONF_ENABLE_IRQ;
        link->conf.Vcc = 50;
        link->conf.IntType = INT_MEMORY_AND_IO;
index f8389fe5f402910acb014c896215fc59f4549c82..9cbbb325ed1bb8d6c74739d5c9ca5a01d0fe87f2 100644 (file)
@@ -1121,7 +1121,7 @@ static  int daqp_cs_attach(struct pcmcia_device *p_dev)
     
        /* Interrupt setup */
     link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT;
-    link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
+    link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     if (irq_list[0] == -1)
        link->irq.IRQInfo2 = irq_mask;
     else