diff options
author | Mark Haverkamp <markh@osdl.org> | 2006-05-10 09:13:11 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-20 09:22:44 -0500 |
commit | df3b7668715f9acfe6ff37dd886f68e46ccd677e (patch) | |
tree | e789432027f8b11775f9f55e9f1f6d64df1fe2c1 /drivers/scsi/aacraid/sa.c | |
parent | 404d9a900b5bc83a3780ec337ca6fdcb04b766c0 (diff) | |
download | kernel_goldelico_gta04-df3b7668715f9acfe6ff37dd886f68e46ccd677e.zip kernel_goldelico_gta04-df3b7668715f9acfe6ff37dd886f68e46ccd677e.tar.gz kernel_goldelico_gta04-df3b7668715f9acfe6ff37dd886f68e46ccd677e.tar.bz2 |
[SCSI] aacraid: sa race condition fix
Received From Mark Salyzyn
A race condition existed that could result in a lost completion of a
command to the ppc based cards.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/sa.c')
-rw-r--r-- | drivers/scsi/aacraid/sa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/sa.c b/drivers/scsi/aacraid/sa.c index ecc47b6..88d400f 100644 --- a/drivers/scsi/aacraid/sa.c +++ b/drivers/scsi/aacraid/sa.c @@ -66,11 +66,11 @@ static irqreturn_t aac_sa_intr(int irq, void *dev_id, struct pt_regs *regs) sa_writew(dev, DoorbellClrReg_p, PrintfReady); /* clear PrintfReady */ sa_writew(dev, DoorbellReg_s, PrintfDone); } else if (intstat & DOORBELL_1) { // dev -> Host Normal Command Ready - aac_command_normal(&dev->queues->queue[HostNormCmdQueue]); sa_writew(dev, DoorbellClrReg_p, DOORBELL_1); + aac_command_normal(&dev->queues->queue[HostNormCmdQueue]); } else if (intstat & DOORBELL_2) { // dev -> Host Normal Response Ready - aac_response_normal(&dev->queues->queue[HostNormRespQueue]); sa_writew(dev, DoorbellClrReg_p, DOORBELL_2); + aac_response_normal(&dev->queues->queue[HostNormRespQueue]); } else if (intstat & DOORBELL_3) { // dev -> Host Normal Command Not Full sa_writew(dev, DoorbellClrReg_p, DOORBELL_3); } else if (intstat & DOORBELL_4) { // dev -> Host Normal Response Not Full |