diff options
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h index 510ef0dc8d7b..f055310ab427 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.26 | 9 | * mpi2_cnfg.h Version: 02.00.28 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -157,6 +157,18 @@ | |||
157 | * 04-09-13 02.00.25 Added MPI2_IOUNITPAGE1_ATA_SECURITY_FREEZE_LOCK. | 157 | * 04-09-13 02.00.25 Added MPI2_IOUNITPAGE1_ATA_SECURITY_FREEZE_LOCK. |
158 | * Fixed MPI2_IOUNITPAGE5_DMA_CAP_MASK_MAX_REQUESTS to | 158 | * Fixed MPI2_IOUNITPAGE5_DMA_CAP_MASK_MAX_REQUESTS to |
159 | * match the specification. | 159 | * match the specification. |
160 | * 12-05-13 02.00.27 Added MPI2_MANPAGE7_FLAG_BASE_ENCLOSURE_LEVEL for | ||
161 | * MPI2_CONFIG_PAGE_MAN_7. | ||
162 | * Added EnclosureLevel and ConnectorName fields to | ||
163 | * MPI2_CONFIG_PAGE_SAS_DEV_0. | ||
164 | * Added MPI2_SAS_DEVICE0_FLAGS_ENCL_LEVEL_VALID for | ||
165 | * MPI2_CONFIG_PAGE_SAS_DEV_0. | ||
166 | * Added EnclosureLevel field to | ||
167 | * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
168 | * Added MPI2_SAS_ENCLS0_FLAGS_ENCL_LEVEL_VALID for | ||
169 | * MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0. | ||
170 | * 01-08-14 02.00.28 Added more defines for the BiosOptions field of | ||
171 | * MPI2_CONFIG_PAGE_BIOS_1. | ||
160 | * -------------------------------------------------------------------------- | 172 | * -------------------------------------------------------------------------- |
161 | */ | 173 | */ |
162 | 174 | ||
@@ -706,6 +718,7 @@ typedef struct _MPI2_CONFIG_PAGE_MAN_7 | |||
706 | #define MPI2_MANUFACTURING7_PAGEVERSION (0x01) | 718 | #define MPI2_MANUFACTURING7_PAGEVERSION (0x01) |
707 | 719 | ||
708 | /* defines for the Flags field */ | 720 | /* defines for the Flags field */ |
721 | #define MPI2_MANPAGE7_FLAG_BASE_ENCLOSURE_LEVEL (0x00000008) | ||
709 | #define MPI2_MANPAGE7_FLAG_EVENTREPLAY_SLOT_ORDER (0x00000002) | 722 | #define MPI2_MANPAGE7_FLAG_EVENTREPLAY_SLOT_ORDER (0x00000002) |
710 | #define MPI2_MANPAGE7_FLAG_USE_SLOT_INFO (0x00000001) | 723 | #define MPI2_MANPAGE7_FLAG_USE_SLOT_INFO (0x00000001) |
711 | 724 | ||
@@ -1235,9 +1248,17 @@ typedef struct _MPI2_CONFIG_PAGE_BIOS_1 | |||
1235 | } MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1, | 1248 | } MPI2_CONFIG_PAGE_BIOS_1, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_BIOS_1, |
1236 | Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t; | 1249 | Mpi2BiosPage1_t, MPI2_POINTER pMpi2BiosPage1_t; |
1237 | 1250 | ||
1238 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x05) | 1251 | #define MPI2_BIOSPAGE1_PAGEVERSION (0x06) |
1239 | 1252 | ||
1240 | /* values for BIOS Page 1 BiosOptions field */ | 1253 | /* values for BIOS Page 1 BiosOptions field */ |
1254 | #define MPI2_BIOSPAGE1_OPTIONS_X86_DISABLE_BIOS (0x00000400) | ||
1255 | |||
1256 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_REGISTRATION_UEFI_BSD (0x00000300) | ||
1257 | #define MPI2_BIOSPAGE1_OPTIONS_USE_BIT0_REGISTRATION_UEFI_BSD (0x00000000) | ||
1258 | #define MPI2_BIOSPAGE1_OPTIONS_FULL_REGISTRATION_UEFI_BSD (0x00000100) | ||
1259 | #define MPI2_BIOSPAGE1_OPTIONS_ADAPTER_REGISTRATION_UEFI_BSD (0x00000200) | ||
1260 | #define MPI2_BIOSPAGE1_OPTIONS_DISABLE_REGISTRATION_UEFI_BSD (0x00000300) | ||
1261 | |||
1241 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_OEM_ID (0x000000F0) | 1262 | #define MPI2_BIOSPAGE1_OPTIONS_MASK_OEM_ID (0x000000F0) |
1242 | #define MPI2_BIOSPAGE1_OPTIONS_LSI_OEM_ID (0x00000000) | 1263 | #define MPI2_BIOSPAGE1_OPTIONS_LSI_OEM_ID (0x00000000) |
1243 | 1264 | ||
@@ -2420,13 +2441,13 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_DEV_0 | |||
2420 | U8 PortGroups; /* 0x2C */ | 2441 | U8 PortGroups; /* 0x2C */ |
2421 | U8 DmaGroup; /* 0x2D */ | 2442 | U8 DmaGroup; /* 0x2D */ |
2422 | U8 ControlGroup; /* 0x2E */ | 2443 | U8 ControlGroup; /* 0x2E */ |
2423 | U8 Reserved1; /* 0x2F */ | 2444 | U8 EnclosureLevel; /* 0x2F */ |
2424 | U32 Reserved2; /* 0x30 */ | 2445 | U8 ConnectorName[4]; /* 0x30 */ |
2425 | U32 Reserved3; /* 0x34 */ | 2446 | U32 Reserved3; /* 0x34 */ |
2426 | } MPI2_CONFIG_PAGE_SAS_DEV_0, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_SAS_DEV_0, | 2447 | } MPI2_CONFIG_PAGE_SAS_DEV_0, MPI2_POINTER PTR_MPI2_CONFIG_PAGE_SAS_DEV_0, |
2427 | Mpi2SasDevicePage0_t, MPI2_POINTER pMpi2SasDevicePage0_t; | 2448 | Mpi2SasDevicePage0_t, MPI2_POINTER pMpi2SasDevicePage0_t; |
2428 | 2449 | ||
2429 | #define MPI2_SASDEVICE0_PAGEVERSION (0x08) | 2450 | #define MPI2_SASDEVICE0_PAGEVERSION (0x09) |
2430 | 2451 | ||
2431 | /* values for SAS Device Page 0 AccessStatus field */ | 2452 | /* values for SAS Device Page 0 AccessStatus field */ |
2432 | #define MPI2_SAS_DEVICE0_ASTATUS_NO_ERRORS (0x00) | 2453 | #define MPI2_SAS_DEVICE0_ASTATUS_NO_ERRORS (0x00) |
@@ -2464,6 +2485,7 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_DEV_0 | |||
2464 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_NCQ_SUPPORTED (0x0020) | 2485 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_NCQ_SUPPORTED (0x0020) |
2465 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_FUA_SUPPORTED (0x0010) | 2486 | #define MPI2_SAS_DEVICE0_FLAGS_SATA_FUA_SUPPORTED (0x0010) |
2466 | #define MPI2_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH (0x0008) | 2487 | #define MPI2_SAS_DEVICE0_FLAGS_PORT_SELECTOR_ATTACH (0x0008) |
2488 | #define MPI2_SAS_DEVICE0_FLAGS_ENCL_LEVEL_VALID (0x0002) | ||
2467 | #define MPI2_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x0001) | 2489 | #define MPI2_SAS_DEVICE0_FLAGS_DEVICE_PRESENT (0x0001) |
2468 | 2490 | ||
2469 | 2491 | ||
@@ -2732,7 +2754,8 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0 | |||
2732 | U16 EnclosureHandle; /* 0x16 */ | 2754 | U16 EnclosureHandle; /* 0x16 */ |
2733 | U16 NumSlots; /* 0x18 */ | 2755 | U16 NumSlots; /* 0x18 */ |
2734 | U16 StartSlot; /* 0x1A */ | 2756 | U16 StartSlot; /* 0x1A */ |
2735 | U16 Reserved2; /* 0x1C */ | 2757 | U8 Reserved2; /* 0x1C */ |
2758 | U8 EnclosureLevel; /* 0x1D */ | ||
2736 | U16 SEPDevHandle; /* 0x1E */ | 2759 | U16 SEPDevHandle; /* 0x1E */ |
2737 | U32 Reserved3; /* 0x20 */ | 2760 | U32 Reserved3; /* 0x20 */ |
2738 | U32 Reserved4; /* 0x24 */ | 2761 | U32 Reserved4; /* 0x24 */ |
@@ -2740,9 +2763,10 @@ typedef struct _MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0 | |||
2740 | MPI2_POINTER PTR_MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0, | 2763 | MPI2_POINTER PTR_MPI2_CONFIG_PAGE_SAS_ENCLOSURE_0, |
2741 | Mpi2SasEnclosurePage0_t, MPI2_POINTER pMpi2SasEnclosurePage0_t; | 2764 | Mpi2SasEnclosurePage0_t, MPI2_POINTER pMpi2SasEnclosurePage0_t; |
2742 | 2765 | ||
2743 | #define MPI2_SASENCLOSURE0_PAGEVERSION (0x03) | 2766 | #define MPI2_SASENCLOSURE0_PAGEVERSION (0x04) |
2744 | 2767 | ||
2745 | /* values for SAS Enclosure Page 0 Flags field */ | 2768 | /* values for SAS Enclosure Page 0 Flags field */ |
2769 | #define MPI2_SAS_ENCLS0_FLAGS_ENCL_LEVEL_VALID (0x0010) | ||
2746 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_MASK (0x000F) | 2770 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_MASK (0x000F) |
2747 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_UNKNOWN (0x0000) | 2771 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_UNKNOWN (0x0000) |
2748 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_IOC_SES (0x0001) | 2772 | #define MPI2_SAS_ENCLS0_FLAGS_MNG_IOC_SES (0x0001) |