Re: [PATCH] aha152x_cs: Fix regression that keeps driver from using shared interrupts
On Sun, 4 Jan 2009 10:12:52 +0900 (JST) Komuro wrote: > > No response from Dominik. > > It should be sent to linux-scsi? Yes, I'll cc linux-scsi now... > > - Original Message - > >Date: Sun, 30 Nov 2008 12:13:09 -0600 > >From: Larry Finger > >To: Dominik Brodowski > >Subject: [PATCH] aha152x_cs: Fix regression that keeps driver from using shar > ed > > interrupts > >Cc: linux-pcmcia@lists.infradead.org > > > > > >At some point since 2.6.22, the aha152x_cs driver stopped working and started > >erring on load with the following messages: > > > >kernel: pcmcia: request for exclusive IRQ could not be fulfilled. > >kernel: pcmcia: the driver needs updating to supported shared IRQ lines. > > > >With the following change, the driver works with shared IRQs. > > > >Signed-off-by: Larry Finger > >Cc: Stable[2.6.27], [2.6.26] > >--- > > > > > >Index: wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c > >=== > >--- wireless-testing.orig/drivers/scsi/pcmcia/aha152x_stub.c > >+++ wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c > >@@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_d > > link->io.NumPorts1 = 0x20; > > link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; > > link->io.IOAddrLines = 10; > >-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; > > > >___ > >Linux PCMCIA reimplementation list > >http://lists.infradead.org/mailman/listinfo/linux-pcmcia > > > --- ~Randy ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia
Re: [PATCH] aha152x_cs: Fix regression that keeps driver from using shared interrupts
No response from Dominik. It should be sent to linux-scsi? - Original Message - >Date: Sun, 30 Nov 2008 12:13:09 -0600 >From: Larry Finger >To: Dominik Brodowski >Subject: [PATCH] aha152x_cs: Fix regression that keeps driver from using shar ed > interrupts >Cc: linux-pcmcia@lists.infradead.org > > >At some point since 2.6.22, the aha152x_cs driver stopped working and started >erring on load with the following messages: > >kernel: pcmcia: request for exclusive IRQ could not be fulfilled. >kernel: pcmcia: the driver needs updating to supported shared IRQ lines. > >With the following change, the driver works with shared IRQs. > >Signed-off-by: Larry Finger >Cc: Stable [2.6.27], [2.6.26] >--- > > >Index: wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c >=== >--- wireless-testing.orig/drivers/scsi/pcmcia/aha152x_stub.c >+++ wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c >@@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_d > link->io.NumPorts1 = 0x20; > link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; > link->io.IOAddrLines = 10; >-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; > >___ >Linux PCMCIA reimplementation list >http://lists.infradead.org/mailman/listinfo/linux-pcmcia ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia
[PATCH] aha152x_cs: Fix regression that keeps driver from using shared interrupts
At some point since 2.6.22, the aha152x_cs driver stopped working and started erring on load with the following messages: kernel: pcmcia: request for exclusive IRQ could not be fulfilled. kernel: pcmcia: the driver needs updating to supported shared IRQ lines. With the following change, the driver works with shared IRQs. Signed-off-by: Larry Finger <[EMAIL PROTECTED]> Cc: Stable <[EMAIL PROTECTED]> [2.6.27], [2.6.26] --- Index: wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c === --- wireless-testing.orig/drivers/scsi/pcmcia/aha152x_stub.c +++ wireless-testing/drivers/scsi/pcmcia/aha152x_stub.c @@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_d link->io.NumPorts1 = 0x20; link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; link->io.IOAddrLines = 10; -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; ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia