diff options
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2.h')
-rw-r--r-- | drivers/scsi/mpt3sas/mpi/mpi2.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h index 1e45268a78fc..7efd17a3c25b 100644 --- a/drivers/scsi/mpt3sas/mpi/mpi2.h +++ b/drivers/scsi/mpt3sas/mpi/mpi2.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | 2 | /* |
3 | * Copyright 2000-2015 Avago Technologies. All rights reserved. | 3 | * Copyright 2000-2020 Broadcom Inc. All rights reserved. |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * Name: mpi2.h | 6 | * Name: mpi2.h |
@@ -9,7 +9,7 @@ | |||
9 | * scatter/gather formats. | 9 | * scatter/gather formats. |
10 | * Creation Date: June 21, 2006 | 10 | * Creation Date: June 21, 2006 |
11 | * | 11 | * |
12 | * mpi2.h Version: 02.00.50 | 12 | * mpi2.h Version: 02.00.53 |
13 | * | 13 | * |
14 | * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 | 14 | * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 |
15 | * prefix are for use only on MPI v2.5 products, and must not be used | 15 | * prefix are for use only on MPI v2.5 products, and must not be used |
@@ -116,7 +116,12 @@ | |||
116 | * 02-03-17 02.00.48 Bumped MPI2_HEADER_VERSION_UNIT. | 116 | * 02-03-17 02.00.48 Bumped MPI2_HEADER_VERSION_UNIT. |
117 | * 06-13-17 02.00.49 Bumped MPI2_HEADER_VERSION_UNIT. | 117 | * 06-13-17 02.00.49 Bumped MPI2_HEADER_VERSION_UNIT. |
118 | * 09-29-17 02.00.50 Bumped MPI2_HEADER_VERSION_UNIT. | 118 | * 09-29-17 02.00.50 Bumped MPI2_HEADER_VERSION_UNIT. |
119 | * -------------------------------------------------------------------------- | 119 | * 07-22-18 02.00.51 Added SECURE_BOOT define. |
120 | * Bumped MPI2_HEADER_VERSION_UNIT | ||
121 | * 08-15-18 02.00.52 Bumped MPI2_HEADER_VERSION_UNIT. | ||
122 | * 08-28-18 02.00.53 Bumped MPI2_HEADER_VERSION_UNIT. | ||
123 | * Added MPI2_IOCSTATUS_FAILURE | ||
124 | * -------------------------------------------------------------------------- | ||
120 | */ | 125 | */ |
121 | 126 | ||
122 | #ifndef MPI2_H | 127 | #ifndef MPI2_H |
@@ -156,7 +161,7 @@ | |||
156 | 161 | ||
157 | 162 | ||
158 | /* Unit and Dev versioning for this MPI header set */ | 163 | /* Unit and Dev versioning for this MPI header set */ |
159 | #define MPI2_HEADER_VERSION_UNIT (0x32) | 164 | #define MPI2_HEADER_VERSION_UNIT (0x35) |
160 | #define MPI2_HEADER_VERSION_DEV (0x00) | 165 | #define MPI2_HEADER_VERSION_DEV (0x00) |
161 | #define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) | 166 | #define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) |
162 | #define MPI2_HEADER_VERSION_UNIT_SHIFT (8) | 167 | #define MPI2_HEADER_VERSION_UNIT_SHIFT (8) |
@@ -257,6 +262,8 @@ typedef volatile struct _MPI2_SYSTEM_INTERFACE_REGS { | |||
257 | */ | 262 | */ |
258 | #define MPI2_HOST_DIAGNOSTIC_OFFSET (0x00000008) | 263 | #define MPI2_HOST_DIAGNOSTIC_OFFSET (0x00000008) |
259 | 264 | ||
265 | #define MPI26_DIAG_SECURE_BOOT (0x80000000) | ||
266 | |||
260 | #define MPI2_DIAG_SBR_RELOAD (0x00002000) | 267 | #define MPI2_DIAG_SBR_RELOAD (0x00002000) |
261 | 268 | ||
262 | #define MPI2_DIAG_BOOT_DEVICE_SELECT_MASK (0x00001800) | 269 | #define MPI2_DIAG_BOOT_DEVICE_SELECT_MASK (0x00001800) |
@@ -687,7 +694,9 @@ typedef union _MPI2_REPLY_DESCRIPTORS_UNION { | |||
687 | #define MPI2_IOCSTATUS_INVALID_FIELD (0x0007) | 694 | #define MPI2_IOCSTATUS_INVALID_FIELD (0x0007) |
688 | #define MPI2_IOCSTATUS_INVALID_STATE (0x0008) | 695 | #define MPI2_IOCSTATUS_INVALID_STATE (0x0008) |
689 | #define MPI2_IOCSTATUS_OP_STATE_NOT_SUPPORTED (0x0009) | 696 | #define MPI2_IOCSTATUS_OP_STATE_NOT_SUPPORTED (0x0009) |
697 | /*MPI v2.6 and later */ | ||
690 | #define MPI2_IOCSTATUS_INSUFFICIENT_POWER (0x000A) | 698 | #define MPI2_IOCSTATUS_INSUFFICIENT_POWER (0x000A) |
699 | #define MPI2_IOCSTATUS_FAILURE (0x000F) | ||
691 | 700 | ||
692 | /**************************************************************************** | 701 | /**************************************************************************** |
693 | * Config IOCStatus values | 702 | * Config IOCStatus values |