Commit 58607b30fc0f2230a189500112c7a7cca02804cf

Authored by Larry Finger
Committed by James Bottomley
1 parent 5db524bd46

[SCSI] 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 <Larry.Finger@lwfinger.net>
Cc: Stable <stable@kernel.org>		[2.6.28], [2.6.27], [2.6.26]
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/scsi/pcmcia/aha152x_stub.c
... ... @@ -114,7 +114,7 @@
114 114 link->io.NumPorts1 = 0x20;
115 115 link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO;
116 116 link->io.IOAddrLines = 10;
117   - link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
  117 + link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
118 118 link->irq.IRQInfo1 = IRQ_LEVEL_ID;
119 119 link->conf.Attributes = CONF_ENABLE_IRQ;
120 120 link->conf.IntType = INT_MEMORY_AND_IO;