diff options
author | adam radford <aradford@gmail.com> | 2011-05-12 03:34:08 +0200 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-24 18:34:59 +0200 |
commit | 7e70e7336515cd367b9cfcf5379e04808bdcbe96 (patch) | |
tree | ea850e683c1eaa8690b51fa29dcaeee81ab0e50e /drivers/scsi/megaraid/megaraid_sas.h | |
parent | [SCSI] megaraid_sas: Remove un-used function (diff) | |
download | linux-7e70e7336515cd367b9cfcf5379e04808bdcbe96.tar.xz linux-7e70e7336515cd367b9cfcf5379e04808bdcbe96.zip |
[SCSI] megaraid_sas: Check MFI_REG_STATE.fault.resetAdapter
The following patch for megaraid_sas fixes the function
megasas_reset_fusion() and makes the reset code check
MFI_REG_STATE.fault.resetAdapter.
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 046dcc672ec1..982ef8364236 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h @@ -76,8 +76,8 @@ #define MFI_STATE_READY 0xB0000000 #define MFI_STATE_OPERATIONAL 0xC0000000 #define MFI_STATE_FAULT 0xF0000000 -#define MFI_RESET_REQUIRED 0x00000001 - +#define MFI_RESET_REQUIRED 0x00000001 +#define MFI_RESET_ADAPTER 0x00000002 #define MEGAMFI_FRAME_SIZE 64 /* |