diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-01-04 00:28:25 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-05 13:17:42 -0500 |
commit | 58607b30fc0f2230a189500112c7a7cca02804cf (patch) | |
tree | f79251111c1627e1a5710774b854c4836568f132 /drivers/scsi/pcmcia/aha152x_stub.c | |
parent | 5db524bd469290212781e1cb0293b57a7a1c000a (diff) |
[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>
Diffstat (limited to 'drivers/scsi/pcmcia/aha152x_stub.c')
-rw-r--r-- | drivers/scsi/pcmcia/aha152x_stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c index 165ff884f48e..67cde0138061 100644 --- a/drivers/scsi/pcmcia/aha152x_stub.c +++ b/drivers/scsi/pcmcia/aha152x_stub.c | |||
@@ -114,7 +114,7 @@ static int aha152x_probe(struct pcmcia_device *link) | |||
114 | link->io.NumPorts1 = 0x20; | 114 | link->io.NumPorts1 = 0x20; |
115 | link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; | 115 | link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; |
116 | link->io.IOAddrLines = 10; | 116 | link->io.IOAddrLines = 10; |
117 | link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; | 117 | link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING; |
118 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; | 118 | link->irq.IRQInfo1 = IRQ_LEVEL_ID; |
119 | link->conf.Attributes = CONF_ENABLE_IRQ; | 119 | link->conf.Attributes = CONF_ENABLE_IRQ; |
120 | link->conf.IntType = INT_MEMORY_AND_IO; | 120 | link->conf.IntType = INT_MEMORY_AND_IO; |