aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@avagotech.com>2015-01-12 01:08:59 -0500
committerChristoph Hellwig <hch@lst.de>2015-01-13 10:27:25 -0500
commitd42432ad6c5cb8e9dea43e3cef711ef740d8a34a (patch)
treec6e9b6383c0d403de053441b1b4d765e049922d9 /drivers/scsi/mpt2sas/mpi
parent2af48d7a82faea38a26e0686d2ac88512de20439 (diff)
mpt2sas: MPI2 Rev BB (2.00.20) specification and 2.00.35 header files
Change List in this MPI2 specification, 1. Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1, and more defines for the BiosOptions field. Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi')
-rw-r--r--drivers/scsi/mpt2sas/mpi/mpi2.h5
-rw-r--r--drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h17
2 files changed, 17 insertions, 5 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2.h b/drivers/scsi/mpt2sas/mpi/mpi2.h
index 76cde3fa5d62..7fc6f23bd9dc 100644
--- a/drivers/scsi/mpt2sas/mpi/mpi2.h
+++ b/drivers/scsi/mpt2sas/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 * Version History 13 * Version History
14 * --------------- 14 * ---------------
@@ -85,6 +85,7 @@
85 * 08-19-13 02.00.32 Bumped MPI2_HEADER_VERSION_UNIT. 85 * 08-19-13 02.00.32 Bumped MPI2_HEADER_VERSION_UNIT.
86 * 12-05-13 02.00.33 Bumped MPI2_HEADER_VERSION_UNIT. 86 * 12-05-13 02.00.33 Bumped MPI2_HEADER_VERSION_UNIT.
87 * 01-08-14 02.00.34 Bumped MPI2_HEADER_VERSION_UNIT. 87 * 01-08-14 02.00.34 Bumped MPI2_HEADER_VERSION_UNIT.
88 * 06-13-14 02.00.35 Bumped MPI2_HEADER_VERSION_UNIT.
88 * -------------------------------------------------------------------------- 89 * --------------------------------------------------------------------------
89 */ 90 */
90 91
@@ -110,7 +111,7 @@
110#define MPI2_VERSION_02_00 (0x0200) 111#define MPI2_VERSION_02_00 (0x0200)
111 112
112/* versioning for this MPI header set */ 113/* versioning for this MPI header set */
113#define MPI2_HEADER_VERSION_UNIT (0x20) 114#define MPI2_HEADER_VERSION_UNIT (0x23)
114#define MPI2_HEADER_VERSION_DEV (0x00) 115#define MPI2_HEADER_VERSION_DEV (0x00)
115#define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) 116#define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00)
116#define MPI2_HEADER_VERSION_UNIT_SHIFT (8) 117#define MPI2_HEADER_VERSION_UNIT_SHIFT (8)
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h
index f055310ab427..ee8d2d695d55 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.28 9 * mpi2_cnfg.h Version: 02.00.29
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -169,6 +169,8 @@
169 * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. 169 * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0.
170 * 01-08-14 02.00.28 Added more defines for the BiosOptions field of 170 * 01-08-14 02.00.28 Added more defines for the BiosOptions field of
171 * MPI2_CONFIG_PAGE_BIOS_1. 171 * MPI2_CONFIG_PAGE_BIOS_1.
172 * 06-13-14 02.00.29 Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1, and
173 * more defines for the BiosOptions field.
172 * -------------------------------------------------------------------------- 174 * --------------------------------------------------------------------------
173 */ 175 */
174 176
@@ -1237,7 +1239,9 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1
1237 MPI2_CONFIG_PAGE_HEADER Header; /* 0x00 */ 1239 MPI2_CONFIG_PAGE_HEADER Header; /* 0x00 */
1238 U32 BiosOptions; /* 0x04 */ 1240 U32 BiosOptions; /* 0x04 */
1239 U32 IOCSettings; /* 0x08 */ 1241 U32 IOCSettings; /* 0x08 */
1240 U32 Reserved1; /* 0x0C */ 1242 U8 SSUTimeout; /* 0x0C */
1243 U8 Reserved1; /* 0x0D */
1244 U16 Reserved2; /* 0x0E */
1241 U32 DeviceSettings; /* 0x10 */ 1245 U32 DeviceSettings; /* 0x10 */
1242 U16 NumberOfDevices; /* 0x14 */ 1246 U16 NumberOfDevices; /* 0x14 */
1243 U16 UEFIVersion; /* 0x16 */ 1247 U16 UEFIVersion; /* 0x16 */
@@ -1248,9 +1252,16 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1
1248} MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1, 1252} MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1,
1249 Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t; 1253 Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t;
1250 1254
1251#define MPI2_BIOSPAGE1_PAGEVERSION (0x06) 1255#define MPI2_BIOSPAGE1_PAGEVERSION (0x07)
1252 1256
1253/* values for BIOS Page 1 BiosOptions field */ 1257/* values for BIOS Page 1 BiosOptions field */
1258#define MPI2_BIOSPAGE1_OPTIONS_PNS_MASK (0x00003800)
1259#define MPI2_BIOSPAGE1_OPTIONS_PNS_PBDHL (0x00000000)
1260#define MPI2_BIOSPAGE1_OPTIONS_PNS_ENCSLOSURE (0x00000800)
1261#define MPI2_BIOSPAGE1_OPTIONS_PNS_LWWID (0x00001000)
1262#define MPI2_BIOSPAGE1_OPTIONS_PNS_PSENS (0x00001800)
1263#define MPI2_BIOSPAGE1_OPTIONS_PNS_ESPHY (0x00002000)
1264
1254#define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400) 1265#define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400)
1255 1266
1256#define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300) 1267#define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300)