summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas.h
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-10-09 01:15:19 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2011-10-16 16:22:05 (GMT)
commite5f93a36f72c9817b989f573f7140e3dfbce0f49 (patch)
treef73c18e2583d6abe46d0cb9ed35f9c5ac1f43c0e /drivers/scsi/megaraid/megaraid_sas.h
parentc8e858fe72230dd2ad07abcbec7c9f201672a8b4 (diff)
downloadlinux-fsl-qoriq-e5f93a36f72c9817b989f573f7140e3dfbce0f49.tar.xz
[SCSI] megaraid_sas: Add driver workaround for PERC5/1068 kdump kernel panic
The following patch for megaraid_sas adds a driver workaround for PERC5/1068 based controller FW that keeps a command from the main kernel that the driver cannot cancel which was causing a kernel panic in shutdown of the kdump kernel. Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h
index 9ffb92d..7375fde 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -139,6 +139,7 @@
#define MFI_CMD_ABORT 0x06
#define MFI_CMD_SMP 0x07
#define MFI_CMD_STP 0x08
+#define MFI_CMD_INVALID 0xff
#define MR_DCMD_CTRL_GET_INFO 0x01010000
#define MR_DCMD_LD_GET_LIST 0x03010000