public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 2.6.18-git] ide-cs (CompactFlash) driver, rm irq warning
@ 2006-10-02 16:02 David Brownell
  2006-10-02 17:45 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: David Brownell @ 2006-10-02 16:02 UTC (permalink / raw)
  To: B.Zolnierkiewicz; +Cc: Linux Kernel list

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

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

--- 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;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-02 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 16:02 [patch 2.6.18-git] ide-cs (CompactFlash) driver, rm irq warning David Brownell
2006-10-02 17:45 ` Alan Cox
2006-10-02 18:58   ` David Brownell
2006-10-02 20:43     ` Alan Cox
2006-10-02 20:22       ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox