diff options
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 3531a14222a7..930c06d0a4f7 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #define MFI_STATE_WAIT_HANDSHAKE 0x60000000 | 50 | #define MFI_STATE_WAIT_HANDSHAKE 0x60000000 |
51 | #define MFI_STATE_FW_INIT_2 0x70000000 | 51 | #define MFI_STATE_FW_INIT_2 0x70000000 |
52 | #define MFI_STATE_DEVICE_SCAN 0x80000000 | 52 | #define MFI_STATE_DEVICE_SCAN 0x80000000 |
53 | #define MFI_STATE_BOOT_MESSAGE_PENDING 0x90000000 | ||
53 | #define MFI_STATE_FLUSH_CACHE 0xA0000000 | 54 | #define MFI_STATE_FLUSH_CACHE 0xA0000000 |
54 | #define MFI_STATE_READY 0xB0000000 | 55 | #define MFI_STATE_READY 0xB0000000 |
55 | #define MFI_STATE_OPERATIONAL 0xC0000000 | 56 | #define MFI_STATE_OPERATIONAL 0xC0000000 |
@@ -64,12 +65,18 @@ | |||
64 | * READY : Move from OPERATIONAL to READY state; discard queue info | 65 | * READY : Move from OPERATIONAL to READY state; discard queue info |
65 | * MFIMODE : Discard (possible) low MFA posted in 64-bit mode (??) | 66 | * MFIMODE : Discard (possible) low MFA posted in 64-bit mode (??) |
66 | * CLR_HANDSHAKE: FW is waiting for HANDSHAKE from BIOS or Driver | 67 | * CLR_HANDSHAKE: FW is waiting for HANDSHAKE from BIOS or Driver |
68 | * HOTPLUG : Resume from Hotplug | ||
69 | * MFI_STOP_ADP : Send signal to FW to stop processing | ||
67 | */ | 70 | */ |
68 | #define MFI_INIT_ABORT 0x00000000 | 71 | #define MFI_INIT_ABORT 0x00000001 |
69 | #define MFI_INIT_READY 0x00000002 | 72 | #define MFI_INIT_READY 0x00000002 |
70 | #define MFI_INIT_MFIMODE 0x00000004 | 73 | #define MFI_INIT_MFIMODE 0x00000004 |
71 | #define MFI_INIT_CLEAR_HANDSHAKE 0x00000008 | 74 | #define MFI_INIT_CLEAR_HANDSHAKE 0x00000008 |
72 | #define MFI_RESET_FLAGS MFI_INIT_READY|MFI_INIT_MFIMODE | 75 | #define MFI_INIT_HOTPLUG 0x00000010 |
76 | #define MFI_STOP_ADP 0x00000020 | ||
77 | #define MFI_RESET_FLAGS MFI_INIT_READY| \ | ||
78 | MFI_INIT_MFIMODE| \ | ||
79 | MFI_INIT_ABORT | ||
73 | 80 | ||
74 | /** | 81 | /** |
75 | * MFI frame flags | 82 | * MFI frame flags |