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

From: David Brownell
Date: Mon Oct 02 2006 - 12:02:50 EST


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

Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/