diff options
author | nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com> | 2012-03-20 02:33:16 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-23 14:26:49 -0400 |
commit | 609dc44b9a8616d7d7091ef7fe62a999e54f3cc2 (patch) | |
tree | 82271c1750f43915a73c2a0f12ba9e13eb96ce69 /drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | |
parent | e38a813ba922fc7a8d0067f3f2717a67fbf0f328 (diff) |
[SCSI] mpt2sas: MPI next revision header update
Changeset in MPI headers:
1) Bumped MPI2_HEADER_VERSION_UNIT
2) Added 4K sectors supported bit to CapabilitiesFlags field of IOC Page 6.
3) Added UEFIVersion field to BIOS Page 1 and defined additional
BiosOptions bits to control UEFI behavior.
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 68 |
1 files changed, 52 insertions, 16 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h index 3a023dad77a1..737fa8cfb54a 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * Title: MPI Configuration messages and pages | 6 | * Title: MPI Configuration messages and pages |
7 | * Creation Date: November 10, 2006 | 7 | * Creation Date: November 10, 2006 |
8 | * | 8 | * |
9 | * mpi2_cnfg.h Version: 02.00.21 | 9 | * mpi2_cnfg.h Version: 02.00.22 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -146,7 +146,9 @@ | |||
146 | * Added SpinupFlags field containing a Disable Spin-up | 146 | * Added SpinupFlags field containing a Disable Spin-up |
147 | * bit to the MPI2_SAS_IOUNIT4_SPINUP_GROUP fields of | 147 | * bit to the MPI2_SAS_IOUNIT4_SPINUP_GROUP fields of |
148 | * SAS IO Unit Page 4. | 148 | * SAS IO Unit Page 4. |
149 | 149 | * 11-18-11 02.00.22 Added define MPI2_IOCPAGE6_CAP_FLAGS_4K_SECTORS_SUPPORT. | |
150 | * Added UEFIVersion field to BIOS Page 1 and defined new | ||
151 | * BiosOptions bits. | ||
150 | * -------------------------------------------------------------------------- | 152 | * -------------------------------------------------------------------------- |
151 | */ | 153 | */ |
152 | 154 | ||
@@ -1131,9 +1133,10 @@ typedef struct _MPI2_CONFIG_PAGE_IOC_6 | |||
1131 | } MPI2_CONFIG_PAGE_IOC_6, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_IOC_6, | 1133 | } MPI2_CONFIG_PAGE_IOC_6, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_IOC_6, |
1132 | Mpi2IOCPage6_t, MPI2_POINTER pMpi2IOCPage6_t; | 1134 | Mpi2IOCPage6_t, MPI2_POINTER pMpi2IOCPage6_t; |
1133 | 1135 | ||
1134 | #define MPI2_IOCPAGE6_PAGEVERSION (0x04) | 1136 | #define MPI2_IOCPAGE6_PAGEVERSION (0x05) |
1135 | 1137 | ||
1136 | /* defines for IOC Page 6 CapabilitiesFlags */ | 1138 | /* defines for IOC Page 6 CapabilitiesFlags */ |
1139 | #define MPI2_IOCPAGE6_CAP_FLAGS_4K_SECTORS_SUPPORT (0x00000020) | ||
1137 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID10_SUPPORT (0x00000010) | 1140 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID10_SUPPORT (0x00000010) |
1138 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID1_SUPPORT (0x00000008) | 1141 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID1_SUPPORT (0x00000008) |
1139 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID1E_SUPPORT (0x00000004) | 1142 | #define MPI2_IOCPAGE6_CAP_FLAGS_RAID1E_SUPPORT (0x00000004) |
@@ -1204,24 +1207,29 @@ typedef struct _MPI2_CONFIG_PAGE_IOC_8 | |||
1204 | 1207 | ||
1205 | typedef struct _MPI2_CONFIG_PAGE_BIOS_1 | 1208 | typedef struct _MPI2_CONFIG_PAGE_BIOS_1 |
1206 | { | 1209 | { |
1207 | MPI2_CONFIG_PAGE_HEADER Header; /* 0x00 */ | 1210 | MPI2_CONFIG_PAGE_HEADER Header; /* 0x00 */ |
1208 | U32 BiosOptions; /* 0x04 */ | 1211 | U32 BiosOptions; /* 0x04 */ |
1209 | U32 IOCSettings; /* 0x08 */ | 1212 | U32 IOCSettings; /* 0x08 */ |
1210 | U32 Reserved1; /* 0x0C */ | 1213 | U32 Reserved1; /* 0x0C */ |
1211 | U32 DeviceSettings; /* 0x10 */ | 1214 | U32 DeviceSettings; /* 0x10 */ |
1212 | U16 NumberOfDevices; /* 0x14 */ | 1215 | U16 NumberOfDevices; /* 0x14 */ |
1213 | U16 Reserved2; /* 0x16 */ | 1216 | U16 UEFIVersion; /* 0x16 */ |
1214 | U16 IOTimeoutBlockDevicesNonRM; /* 0x18 */ | 1217 | U16 IOTimeoutBlockDevicesNonRM; /* 0x18 */ |
1215 | U16 IOTimeoutSequential; /* 0x1A */ | 1218 | U16 IOTimeoutSequential; /* 0x1A */ |
1216 | U16 IOTimeoutOther; /* 0x1C */ | 1219 | U16 IOTimeoutOther; /* 0x1C */ |
1217 | U16 IOTimeoutBlockDevicesRM; /* 0x1E */ | 1220 | U16 IOTimeoutBlockDevicesRM; /* 0x1E */ |
1218 | } MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1, | 1221 | } MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1, |
1219 | Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t; | 1222 | Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t; |
1220 | 1223 | ||
1221 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x04) | 1224 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x05) |
1222 | 1225 | ||
1223 | /* values for BIOS Page 1 BiosOptions field */ | 1226 | /* values for BIOS Page 1 BiosOptions field */ |
1224 | #define MPI2_BIOSPAGE1_OPTIONS_DISABLE_BIOS (0x00000001) | 1227 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_UEFI_HII_REGISTRATION (0x00000006) |
1228 | #define MPI2_BIOSPAGE1_OPTIONS_ENABLE_UEFI_HII (0x00000000) | ||
1229 | #define MPI2_BIOSPAGE1_OPTIONS_DISABLE_UEFI_HII (0x00000002) | ||
1230 | #define MPI2_BIOSPAGE1_OPTIONS_VERSION_CHECK_UEFI_HII (0x00000004) | ||
1231 | |||
1232 | #define MPI2_BIOSPAGE1_OPTIONS_DISABLE_BIOS (0x00000001) | ||
1225 | 1233 | ||
1226 | /* values for BIOS Page 1 IOCSettings field */ | 1234 | /* values for BIOS Page 1 IOCSettings field */ |
1227 | #define MPI2_BIOSPAGE1_IOCSET_MASK_BOOT_PREFERENCE (0x00030000) | 1235 | #define MPI2_BIOSPAGE1_IOCSET_MASK_BOOT_PREFERENCE (0x00030000) |
@@ -1248,6 +1256,13 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 | |||
1248 | #define MPI2_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002) | 1256 | #define MPI2_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002) |
1249 | #define MPI2_BIOSPAGE1_DEVSET_DISABLE_OTHER_LUN (0x00000001) | 1257 | #define MPI2_BIOSPAGE1_DEVSET_DISABLE_OTHER_LUN (0x00000001) |
1250 | 1258 | ||
1259 | /* defines for BIOS Page 1 UEFIVersion field */ | ||
1260 | #define MPI2_BIOSPAGE1_UEFI_VER_MAJOR_MASK (0xFF00) | ||
1261 | #define MPI2_BIOSPAGE1_UEFI_VER_MAJOR_SHIFT (8) | ||
1262 | #define MPI2_BIOSPAGE1_UEFI_VER_MINOR_MASK (0x00FF) | ||
1263 | #define MPI2_BIOSPAGE1_UEFI_VER_MINOR_SHIFT (0) | ||
1264 | |||
1265 | |||
1251 | 1266 | ||
1252 | /* BIOS Page 2 */ | 1267 | /* BIOS Page 2 */ |
1253 | 1268 | ||
@@ -2216,6 +2231,27 @@ typedef struct _MPI2_CONFIG_PAGE_SASIOUNIT_8 { | |||
2216 | 2231 | ||
2217 | 2232 | ||
2218 | 2233 | ||
2234 | /* SAS IO Unit Page 16 */ | ||
2235 | |||
2236 | typedef struct _MPI2_CONFIG_PAGE_SASIOUNIT16 { | ||
2237 | MPI2_CONFIG_EXTENDED_PAGE_HEADER Header; /* 0x00 */ | ||
2238 | U64 TimeStamp; /* 0x08 */ | ||
2239 | U32 Reserved1; /* 0x10 */ | ||
2240 | U32 Reserved2; /* 0x14 */ | ||
2241 | U32 FastPathPendedRequests; /* 0x18 */ | ||
2242 | U32 FastPathUnPendedRequests; /* 0x1C */ | ||
2243 | U32 FastPathHostRequestStarts; /* 0x20 */ | ||
2244 | U32 FastPathFirmwareRequestStarts; /* 0x24 */ | ||
2245 | U32 FastPathHostCompletions; /* 0x28 */ | ||
2246 | U32 FastPathFirmwareCompletions; /* 0x2C */ | ||
2247 | U32 NonFastPathRequestStarts; /* 0x30 */ | ||
2248 | U32 NonFastPathHostCompletions; /* 0x30 */ | ||
2249 | } MPI2_CONFIG_PAGE_SASIOUNIT16, | ||
2250 | MPI2_POINTER PTR_MPI2_CONFIG_PAGE_SASIOUNIT16, | ||
2251 | Mpi2SasIOUnitPage16_t, MPI2_POINTER pMpi2SasIOUnitPage16_t; | ||
2252 | |||
2253 | #define MPI2_SASIOUNITPAGE16_PAGEVERSION (0x00) | ||
2254 | |||
2219 | 2255 | ||
2220 | /**************************************************************************** | 2256 | /**************************************************************************** |
2221 | * SAS Expander Config Pages | 2257 | * SAS Expander Config Pages |