diff options
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h')
-rw-r--r-- | drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 52 |
1 files changed, 44 insertions, 8 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h index e261a3153bb3..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.26 | 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 |
@@ -165,6 +165,20 @@ | |||
165 | * match the specification. | 165 | * match the specification. |
166 | * 08-19-13 02.00.26 Added reserved words to MPI2_CONFIG_PAGE_IO_UNIT_7 for | 166 | * 08-19-13 02.00.26 Added reserved words to MPI2_CONFIG_PAGE_IO_UNIT_7 for |
167 | * future use. | 167 | * future use. |
168 | * 12-05-13 02.00.27 Added MPI2_MANPAGE7_FLAG_BASE_ENCLOSURE_LEVEL for | ||
169 | * MPI2_CONFIG_PAGE_MAN_7. | ||
170 | * Added EnclosureLevel and ConnectorName fields to | ||
171 | * MPI2_CONFIG_PAGE_SAS_DEV_0. | ||
172 | * Added MPI2_SAS_DEVICE0_FLAGS_ENCL_LEVEL_VALID for | ||
173 | * MPI2_CONFIG_PAGE_SAS_DEV_0. | ||
174 | * Added EnclosureLevel field to | ||
175 | * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
176 | * Added MPI2_SAS_ENCLS0_FLAGS_ENCL_LEVEL_VALID for | ||
177 | * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
178 | * 01-08-14 02.00.28 Added more defines for the BiosOptions field of | ||
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.. | ||
168 | * -------------------------------------------------------------------------- | 182 | * -------------------------------------------------------------------------- |
169 | */ | 183 | */ |
170 | 184 | ||
@@ -724,6 +738,7 @@ typedef struct _MPI2_CONFIG_PAGE_MAN_7 { | |||
724 | #define MPI2_MANUFACTURING7_PAGEVERSION (0x01) | 738 | #define MPI2_MANUFACTURING7_PAGEVERSION (0x01) |
725 | 739 | ||
726 | /*defines for the Flags field */ | 740 | /*defines for the Flags field */ |
741 | #define MPI2_MANPAGE7_FLAG_BASE_ENCLOSURE_LEVEL (0x00000008) | ||
727 | #define MPI2_MANPAGE7_FLAG_EVENTREPLAY_SLOT_ORDER (0x00000002) | 742 | #define MPI2_MANPAGE7_FLAG_EVENTREPLAY_SLOT_ORDER (0x00000002) |
728 | #define MPI2_MANPAGE7_FLAG_USE_SLOT_INFO (0x00000001) | 743 | #define MPI2_MANPAGE7_FLAG_USE_SLOT_INFO (0x00000001) |
729 | 744 | ||
@@ -1311,7 +1326,9 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 { | |||
1311 | MPI2_CONFIG_PAGE_HEADER Header; /*0x00 */ | 1326 | MPI2_CONFIG_PAGE_HEADER Header; /*0x00 */ |
1312 | U32 BiosOptions; /*0x04 */ | 1327 | U32 BiosOptions; /*0x04 */ |
1313 | U32 IOCSettings; /*0x08 */ | 1328 | U32 IOCSettings; /*0x08 */ |
1314 | U32 Reserved1; /*0x0C */ | 1329 | U8 SSUTimeout; /*0x0C */ |
1330 | U8 Reserved1; /*0x0D */ | ||
1331 | U16 Reserved2; /*0x0E */ | ||
1315 | U32 DeviceSettings; /*0x10 */ | 1332 | U32 DeviceSettings; /*0x10 */ |
1316 | U16 NumberOfDevices; /*0x14 */ | 1333 | U16 NumberOfDevices; /*0x14 */ |
1317 | U16 UEFIVersion; /*0x16 */ | 1334 | U16 UEFIVersion; /*0x16 */ |
@@ -1323,9 +1340,24 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 { | |||
1323 | *PTR_MPI2_CONFIG_PAGE_BIOS_1, | 1340 | *PTR_MPI2_CONFIG_PAGE_BIOS_1, |
1324 | Mpi2BiosPage1_t, *pMpi2BiosPage1_t; | 1341 | Mpi2BiosPage1_t, *pMpi2BiosPage1_t; |
1325 | 1342 | ||
1326 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x05) | 1343 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x07) |
1327 | 1344 | ||
1328 | /*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 | |||
1353 | #define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400) | ||
1354 | |||
1355 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300) | ||
1356 | #define MPI2_BIOSPAGE1_OPTIONS_USE_BIT0_REGISTRATION_UEFI_BSD (0x00000000) | ||
1357 | #define MPI2_BIOSPAGE1_OPTIONS_FULL_REGISTRATION_UEFI_BSD (0x00000100) | ||
1358 | #define MPI2_BIOSPAGE1_OPTIONS_ADAPTER_REGISTRATION_UEFI_BSD (0x00000200) | ||
1359 | #define MPI2_BIOSPAGE1_OPTIONS_DISABLE_REGISTRATION_UEFI_BSD (0x00000300) | ||
1360 | |||
1329 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_OEM_ID (0x000000F0) | 1361 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_OEM_ID (0x000000F0) |
1330 | #define MPI2_BIOSPAGE1_OPTIONS_LSI_OEM_ID (0x00000000) | 1362 | #define MPI2_BIOSPAGE1_OPTIONS_LSI_OEM_ID (0x00000000) |
1331 | 1363 | ||
@@ -2633,9 +2665,9 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_DEV_0 { | |||
2633 | U8 | 2665 | U8 |
2634 | ControlGroup; /*0x2E */ | 2666 | ControlGroup; /*0x2E */ |
2635 | U8 | 2667 | U8 |
2636 | Reserved1; /*0x2F */ | 2668 | EnclosureLevel; /*0x2F */ |
2637 | U32 | 2669 | U32 |
2638 | Reserved2; /*0x30 */ | 2670 | ConnectorName[4]; /*0x30 */ |
2639 | U32 | 2671 | U32 |
2640 | Reserved3; /*0x34 */ | 2672 | Reserved3; /*0x34 */ |
2641 | } MPI2_CONFIG_PAGE_SAS_DEV_0, | 2673 | } MPI2_CONFIG_PAGE_SAS_DEV_0, |
@@ -2643,7 +2675,7 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_DEV_0 { | |||
2643 | Mpi2SasDevicePage0_t, | 2675 | Mpi2SasDevicePage0_t, |
2644 | *pMpi2SasDevicePage0_t; | 2676 | *pMpi2SasDevicePage0_t; |
2645 | 2677 | ||
2646 | #define MPI2_SASDEVICE0_PAGEVERSION (0x08) | 2678 | #define MPI2_SASDEVICE0_PAGEVERSION (0x09) |
2647 | 2679 | ||
2648 | /*values for SAS Device Page 0 AccessStatus field */ | 2680 | /*values for SAS Device Page 0 AccessStatus field */ |
2649 | #define MPI2_SAS_DEVICE0_ASTATUS_NO_ERRORS (0x00) | 2681 | #define MPI2_SAS_DEVICE0_ASTATUS_NO_ERRORS (0x00) |
@@ -2683,6 +2715,7 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_DEV_0 { | |||
2683 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_NCQ_SUPPORTED (0x0020) | 2715 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_NCQ_SUPPORTED (0x0020) |
2684 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_FUA_SUPPORTED (0x0010) | 2716 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_FUA_SUPPORTED (0x0010) |
2685 | #define MPI2_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH (0x0008) | 2717 | #define MPI2_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH (0x0008) |
2718 | #define MPI2_SAS_DEVICE0_FLAGS_ENCL_LEVEL_VALID (0x0002) | ||
2686 | #define MPI2_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x0001) | 2719 | #define MPI2_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x0001) |
2687 | 2720 | ||
2688 | 2721 | ||
@@ -3019,8 +3052,10 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0 { | |||
3019 | NumSlots; /*0x18 */ | 3052 | NumSlots; /*0x18 */ |
3020 | U16 | 3053 | U16 |
3021 | StartSlot; /*0x1A */ | 3054 | StartSlot; /*0x1A */ |
3022 | U16 | 3055 | U8 |
3023 | Reserved2; /*0x1C */ | 3056 | Reserved2; /*0x1C */ |
3057 | U8 | ||
3058 | EnclosureLevel; /*0x1D */ | ||
3024 | U16 | 3059 | U16 |
3025 | SEPDevHandle; /*0x1E */ | 3060 | SEPDevHandle; /*0x1E */ |
3026 | U32 | 3061 | U32 |
@@ -3031,9 +3066,10 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0 { | |||
3031 | *PTR_MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0, | 3066 | *PTR_MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0, |
3032 | Mpi2SasEnclosurePage0_t, *pMpi2SasEnclosurePage0_t; | 3067 | Mpi2SasEnclosurePage0_t, *pMpi2SasEnclosurePage0_t; |
3033 | 3068 | ||
3034 | #define MPI2_SASENCLOSURE0_PAGEVERSION (0x03) | 3069 | #define MPI2_SASENCLOSURE0_PAGEVERSION (0x04) |
3035 | 3070 | ||
3036 | /*values for SAS Enclosure Page 0 Flags field */ | 3071 | /*values for SAS Enclosure Page 0 Flags field */ |
3072 | #define MPI2_SAS_ENCLS0_FLAGS_ENCL_LEVEL_VALID (0x0010) | ||
3037 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_MASK (0x000F) | 3073 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_MASK (0x000F) |
3038 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_UNKNOWN (0x0000) | 3074 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_UNKNOWN (0x0000) |
3039 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_IOC_SES (0x0001) | 3075 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_IOC_SES (0x0001) |