[patch 2.6.18-git] ide-cs (CompactFlash) driver, rm irq warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Git rid of the runtime warning about pcmcia not supporting
exclusive IRQs, so "the driver needs updating".

Signed-off-by: David Brownell <[email protected]>

--- osk.orig/drivers/ide/legacy/ide-cs.c	2006-09-28 19:27:51.000000000 -0700
+++ osk/drivers/ide/legacy/ide-cs.c	2006-10-02 08:25:21.000000000 -0700
@@ -120,7 +120,7 @@ static int ide_probe(struct pcmcia_devic
     link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO;
     link->io.Attributes2 = IO_DATA_PATH_WIDTH_8;
     link->io.IOAddrLines = 3;
-    link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
+    link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
     link->irq.IRQInfo1 = IRQ_LEVEL_ID;
     link->conf.Attributes = CONF_ENABLE_IRQ;
     link->conf.IntType = INT_MEMORY_AND_IO;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux