aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@avagotech.com>2015-06-30 02:54:59 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-08-27 14:08:28 -0400
commita6f84009b9d7ca97c400ca929f9d58f43b0ece9d (patch)
treefd7d0982ad67c6d1cdedca0646629dac0eaa89b8
parent2b89669ae4addfa68a58e0fc16afdd24739720d8 (diff)
mpt3sas: MPI 2.5 Rev K (2.5.6) specifications
Below are the new changes to MPI 2.5 Rev K(2.5.6) specification and 2.00.35 header files 1) Added a minimum size requirement for target mode command buffers. 2) Added MinMSIxIndex and MaxMSIxIndex fields to CommandBufferPostBase Request. 3) For BIOS Page 1, added SSUTimeout field, and added Product Name String Format bits to the BiosOptions field Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r--drivers/scsi/mpt3sas/mpi/mpi2.h5
-rw-r--r--drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h17
2 files changed, 17 insertions, 5 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h
index c2d127c7d4e2..ec27ad2d186f 100644
--- a/drivers/scsi/mpt3sas/mpi/mpi2.h
+++ b/drivers/scsi/mpt3sas/mpi/mpi2.h
@@ -8,7 +8,7 @@
8 * scatter/gather formats. 8 * scatter/gather formats.
9 * Creation Date: June 21, 2006 9 * Creation Date: June 21, 2006
10 * 10 *
11 * mpi2.h Version: 02.00.34 11 * mpi2.h Version: 02.00.35
12 * 12 *
13 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 13 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25
14 * prefix are for use only on MPI v2.5 products, and must not be used 14 * prefix are for use only on MPI v2.5 products, and must not be used
@@ -91,6 +91,7 @@
91 * 08-19-13 02.00.32 Bumped MPI2_HEADER_VERSION_UNIT. 91 * 08-19-13 02.00.32 Bumped MPI2_HEADER_VERSION_UNIT.
92 * 12-05-13 02.00.33 Bumped MPI2_HEADER_VERSION_UNIT. 92 * 12-05-13 02.00.33 Bumped MPI2_HEADER_VERSION_UNIT.
93 * 01-08-14 02.00.34 Bumped MPI2_HEADER_VERSION_UNIT 93 * 01-08-14 02.00.34 Bumped MPI2_HEADER_VERSION_UNIT
94 * 06-13-14 02.00.35 Bumped MPI2_HEADER_VERSION_UNIT.
94 * -------------------------------------------------------------------------- 95 * --------------------------------------------------------------------------
95 */ 96 */
96 97
@@ -124,7 +125,7 @@
124#define MPI2_VERSION_02_05 (0x0205) 125#define MPI2_VERSION_02_05 (0x0205)
125 126
126/*Unit and Dev versioning for this MPI header set */ 127/*Unit and Dev versioning for this MPI header set */
127#define MPI2_HEADER_VERSION_UNIT (0x22) 128#define MPI2_HEADER_VERSION_UNIT (0x23)
128#define MPI2_HEADER_VERSION_DEV (0x00) 129#define MPI2_HEADER_VERSION_DEV (0x00)
129#define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) 130#define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00)
130#define MPI2_HEADER_VERSION_UNIT_SHIFT (8) 131#define MPI2_HEADER_VERSION_UNIT_SHIFT (8)
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h
index cf2b6bf6480f..581fdb375db5 100644
--- a/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h
+++ b/drivers/scsi/mpt3sas/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.28 9 * mpi2_cnfg.h Version: 02.00.29
10 * 10 *
11 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 11 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25
12 * prefix are for use only on MPI v2.5 products, and must not be used 12 * prefix are for use only on MPI v2.5 products, and must not be used
@@ -177,6 +177,8 @@
177 * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. 177 * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0.
178 * 01-08-14 02.00.28 Added more defines for the BiosOptions field of 178 * 01-08-14 02.00.28 Added more defines for the BiosOptions field of
179 * MPI2_CONFIG_PAGE_BIOS_1. 179 * MPI2_CONFIG_PAGE_BIOS_1.
180 * 06-13-14 02.00.29 Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1, and
181 * more defines for the BiosOptions field..
180 * -------------------------------------------------------------------------- 182 * --------------------------------------------------------------------------
181 */ 183 */
182 184
@@ -1324,7 +1326,9 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 {
1324 MPI2_CONFIG_PAGE_HEADER Header; /*0x00 */ 1326 MPI2_CONFIG_PAGE_HEADER Header; /*0x00 */
1325 U32 BiosOptions; /*0x04 */ 1327 U32 BiosOptions; /*0x04 */
1326 U32 IOCSettings; /*0x08 */ 1328 U32 IOCSettings; /*0x08 */
1327 U32 Reserved1; /*0x0C */ 1329 U8 SSUTimeout; /*0x0C */
1330 U8 Reserved1; /*0x0D */
1331 U16 Reserved2; /*0x0E */
1328 U32 DeviceSettings; /*0x10 */ 1332 U32 DeviceSettings; /*0x10 */
1329 U16 NumberOfDevices; /*0x14 */ 1333 U16 NumberOfDevices; /*0x14 */
1330 U16 UEFIVersion; /*0x16 */ 1334 U16 UEFIVersion; /*0x16 */
@@ -1336,9 +1340,16 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 {
1336 *PTR_MPI2_CONFIG_PAGE_BIOS_1, 1340 *PTR_MPI2_CONFIG_PAGE_BIOS_1,
1337 Mpi2BiosPage1_t, *pMpi2BiosPage1_t; 1341 Mpi2BiosPage1_t, *pMpi2BiosPage1_t;
1338 1342
1339#define MPI2_BIOSPAGE1_PAGEVERSION (0x06) 1343#define MPI2_BIOSPAGE1_PAGEVERSION (0x07)
1340 1344
1341/*values for BIOS Page 1 BiosOptions field */ 1345/*values for BIOS Page 1 BiosOptions field */
1346#define MPI2_BIOSPAGE1_OPTIONS_PNS_MASK (0x00003800)
1347#define MPI2_BIOSPAGE1_OPTIONS_PNS_PBDHL (0x00000000)
1348#define MPI2_BIOSPAGE1_OPTIONS_PNS_ENCSLOSURE (0x00000800)
1349#define MPI2_BIOSPAGE1_OPTIONS_PNS_LWWID (0x00001000)
1350#define MPI2_BIOSPAGE1_OPTIONS_PNS_PSENS (0x00001800)
1351#define MPI2_BIOSPAGE1_OPTIONS_PNS_ESPHY (0x00002000)
1352
1342#define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400) 1353#define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400)
1343 1354
1344#define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300) 1355#define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300)