summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/linit.c
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2016-04-26 08:32:09 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-30 01:08:24 +0200
commit9cb62fa24e0d22dbe991c315d6c454a341ea3f76 (patch)
treebfbd79d31fc933b9941f4d0c77131c1ce34568a7 /drivers/scsi/aacraid/linit.c
parentaacraid: Fix for aac_command_thread hang (diff)
downloadlinux-9cb62fa24e0d22dbe991c315d6c454a341ea3f76.tar.xz
linux-9cb62fa24e0d22dbe991c315d6c454a341ea3f76.zip
aacraid: Log firmware AIF messages
Firmware AIF messages about cache loss and data recovery are being missed by the driver since currently they are not captured but rather let go. This patch to capture those messages and log them for the user. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index 79a1cec1a51f..a943bd230bc2 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -1299,6 +1299,8 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
else
shost->this_id = shost->max_id;
+ aac_intr_normal(aac, 0, 2, 0, NULL);
+
/*
* dmb - we may need to move the setting of these parms somewhere else once
* we get a fib that can report the actual numbers