OSDN Git Service

[SCSI] megaraid_sas: Fix the interrupt mask for Gen2 controller
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Wed, 22 May 2013 06:59:54 +0000 (12:29 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 25 Jun 2013 00:19:44 +0000 (17:19 -0700)
Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c

index cd2ee47..3d1aee7 100644 (file)
@@ -711,7 +711,7 @@ megasas_clear_intr_gen2(struct megasas_register_set __iomem *regs)
         */
        status = readl(&regs->outbound_intr_status);
 
-       if (status & MFI_GEN2_ENABLE_INTERRUPT_MASK) {
+       if (status & MFI_INTR_FLAG_REPLY_MESSAGE) {
                mfiStatus = MFI_INTR_FLAG_REPLY_MESSAGE;
        }
        if (status & MFI_G2_OUTBOUND_DOORBELL_CHANGE_INTERRUPT) {