[SCSI] mpt2sas: MPI header version N is updated.
Updating MPI header version N. Removed mpi_history.txt. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
d32a8c15e1
commit
203d65b16c
@ -6,7 +6,7 @@
|
||||
* Title: MPI IOC, Port, Event, FW Download, and FW Upload messages
|
||||
* Creation Date: October 11, 2006
|
||||
*
|
||||
* mpi2_ioc.h Version: 02.00.13
|
||||
* mpi2_ioc.h Version: 02.00.14
|
||||
*
|
||||
* Version History
|
||||
* ---------------
|
||||
@ -98,6 +98,9 @@
|
||||
* (MPI2_FW_HEADER_PID_).
|
||||
* Modified values for SAS ProductID Family
|
||||
* (MPI2_FW_HEADER_PID_FAMILY_).
|
||||
* 02-10-10 02.00.14 Added SAS Quiesce Event structure and defines.
|
||||
* Added PowerManagementControl Request structures and
|
||||
* defines.
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@ -469,6 +472,7 @@ typedef struct _MPI2_EVENT_NOTIFICATION_REPLY
|
||||
#define MPI2_EVENT_SAS_PHY_COUNTER (0x0022)
|
||||
#define MPI2_EVENT_GPIO_INTERRUPT (0x0023)
|
||||
#define MPI2_EVENT_HOST_BASED_DISCOVERY_PHY (0x0024)
|
||||
#define MPI2_EVENT_SAS_QUIESCE (0x0025)
|
||||
|
||||
|
||||
/* Log Entry Added Event data */
|
||||
@ -895,6 +899,22 @@ typedef struct _MPI2_EVENT_DATA_SAS_PHY_COUNTER {
|
||||
* */
|
||||
|
||||
|
||||
/* SAS Quiesce Event data */
|
||||
|
||||
typedef struct _MPI2_EVENT_DATA_SAS_QUIESCE {
|
||||
U8 ReasonCode; /* 0x00 */
|
||||
U8 Reserved1; /* 0x01 */
|
||||
U16 Reserved2; /* 0x02 */
|
||||
U32 Reserved3; /* 0x04 */
|
||||
} MPI2_EVENT_DATA_SAS_QUIESCE,
|
||||
MPI2_POINTER PTR_MPI2_EVENT_DATA_SAS_QUIESCE,
|
||||
Mpi2EventDataSasQuiesce_t, MPI2_POINTER pMpi2EventDataSasQuiesce_t;
|
||||
|
||||
/* SAS Quiesce Event data ReasonCode values */
|
||||
#define MPI2_EVENT_SAS_QUIESCE_RC_STARTED (0x01)
|
||||
#define MPI2_EVENT_SAS_QUIESCE_RC_COMPLETED (0x02)
|
||||
|
||||
|
||||
/* Host Based Discovery Phy Event data */
|
||||
|
||||
typedef struct _MPI2_EVENT_HBD_PHY_SAS {
|
||||
@ -1006,6 +1026,7 @@ typedef struct _MPI2_FW_DOWNLOAD_REQUEST
|
||||
#define MPI2_FW_DOWNLOAD_ITYPE_CONFIG_1 (0x07)
|
||||
#define MPI2_FW_DOWNLOAD_ITYPE_CONFIG_2 (0x08)
|
||||
#define MPI2_FW_DOWNLOAD_ITYPE_MEGARAID (0x09)
|
||||
#define MPI2_FW_DOWNLOAD_ITYPE_COMPLETE (0x0A)
|
||||
#define MPI2_FW_DOWNLOAD_ITYPE_COMMON_BOOT_BLOCK (0x0B)
|
||||
|
||||
/* FWDownload TransactionContext Element */
|
||||
@ -1183,7 +1204,6 @@ typedef struct _MPI2_FW_IMAGE_HEADER
|
||||
|
||||
#define MPI2_FW_HEADER_PID_PROD_MASK (0x0F00)
|
||||
#define MPI2_FW_HEADER_PID_PROD_A (0x0000)
|
||||
#define MPI2_FW_HEADER_PID_PROD_MASK (0x0F00)
|
||||
#define MPI2_FW_HEADER_PID_PROD_TARGET_INITIATOR_SCSI (0x0200)
|
||||
#define MPI2_FW_HEADER_PID_PROD_IR_SCSI (0x0700)
|
||||
|
||||
@ -1407,5 +1427,100 @@ typedef struct _MPI2_INIT_IMAGE_FOOTER
|
||||
#define MPI2_INIT_IMAGE_RESETVECTOR_OFFSET (0x14)
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* PowerManagementControl message
|
||||
****************************************************************************/
|
||||
|
||||
/* PowerManagementControl Request message */
|
||||
typedef struct _MPI2_PWR_MGMT_CONTROL_REQUEST {
|
||||
U8 Feature; /* 0x00 */
|
||||
U8 Reserved1; /* 0x01 */
|
||||
U8 ChainOffset; /* 0x02 */
|
||||
U8 Function; /* 0x03 */
|
||||
U16 Reserved2; /* 0x04 */
|
||||
U8 Reserved3; /* 0x06 */
|
||||
U8 MsgFlags; /* 0x07 */
|
||||
U8 VP_ID; /* 0x08 */
|
||||
U8 VF_ID; /* 0x09 */
|
||||
U16 Reserved4; /* 0x0A */
|
||||
U8 Parameter1; /* 0x0C */
|
||||
U8 Parameter2; /* 0x0D */
|
||||
U8 Parameter3; /* 0x0E */
|
||||
U8 Parameter4; /* 0x0F */
|
||||
U32 Reserved5; /* 0x10 */
|
||||
U32 Reserved6; /* 0x14 */
|
||||
} MPI2_PWR_MGMT_CONTROL_REQUEST, MPI2_POINTER PTR_MPI2_PWR_MGMT_CONTROL_REQUEST,
|
||||
Mpi2PwrMgmtControlRequest_t, MPI2_POINTER pMpi2PwrMgmtControlRequest_t;
|
||||
|
||||
/* defines for the Feature field */
|
||||
#define MPI2_PM_CONTROL_FEATURE_DA_PHY_POWER_COND (0x01)
|
||||
#define MPI2_PM_CONTROL_FEATURE_PORT_WIDTH_MODULATION (0x02)
|
||||
#define MPI2_PM_CONTROL_FEATURE_PCIE_LINK (0x03)
|
||||
#define MPI2_PM_CONTROL_FEATURE_IOC_SPEED (0x04)
|
||||
#define MPI2_PM_CONTROL_FEATURE_MIN_PRODUCT_SPECIFIC (0x80)
|
||||
#define MPI2_PM_CONTROL_FEATURE_MAX_PRODUCT_SPECIFIC (0xFF)
|
||||
|
||||
/* parameter usage for the MPI2_PM_CONTROL_FEATURE_DA_PHY_POWER_COND Feature */
|
||||
/* Parameter1 contains a PHY number */
|
||||
/* Parameter2 indicates power condition action using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM2_PARTIAL (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM2_SLUMBER (0x02)
|
||||
#define MPI2_PM_CONTROL_PARAM2_EXIT_PWR_MGMT (0x03)
|
||||
/* Parameter3 and Parameter4 are reserved */
|
||||
|
||||
/* parameter usage for the MPI2_PM_CONTROL_FEATURE_PORT_WIDTH_MODULATION
|
||||
* Feature */
|
||||
/* Parameter1 contains SAS port width modulation group number */
|
||||
/* Parameter2 indicates IOC action using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM2_REQUEST_OWNERSHIP (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM2_CHANGE_MODULATION (0x02)
|
||||
#define MPI2_PM_CONTROL_PARAM2_RELINQUISH_OWNERSHIP (0x03)
|
||||
/* Parameter3 indicates desired modulation level using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM3_25_PERCENT (0x00)
|
||||
#define MPI2_PM_CONTROL_PARAM3_50_PERCENT (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM3_75_PERCENT (0x02)
|
||||
#define MPI2_PM_CONTROL_PARAM3_100_PERCENT (0x03)
|
||||
/* Parameter4 is reserved */
|
||||
|
||||
/* parameter usage for the MPI2_PM_CONTROL_FEATURE_PCIE_LINK Feature */
|
||||
/* Parameter1 indicates desired PCIe link speed using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM1_PCIE_2_5_GBPS (0x00)
|
||||
#define MPI2_PM_CONTROL_PARAM1_PCIE_5_0_GBPS (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM1_PCIE_8_0_GBPS (0x02)
|
||||
/* Parameter2 indicates desired PCIe link width using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM2_WIDTH_X1 (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM2_WIDTH_X2 (0x02)
|
||||
#define MPI2_PM_CONTROL_PARAM2_WIDTH_X4 (0x04)
|
||||
#define MPI2_PM_CONTROL_PARAM2_WIDTH_X8 (0x08)
|
||||
/* Parameter3 and Parameter4 are reserved */
|
||||
|
||||
/* parameter usage for the MPI2_PM_CONTROL_FEATURE_IOC_SPEED Feature */
|
||||
/* Parameter1 indicates desired IOC hardware clock speed using these defines */
|
||||
#define MPI2_PM_CONTROL_PARAM1_FULL_IOC_SPEED (0x01)
|
||||
#define MPI2_PM_CONTROL_PARAM1_HALF_IOC_SPEED (0x02)
|
||||
#define MPI2_PM_CONTROL_PARAM1_QUARTER_IOC_SPEED (0x04)
|
||||
#define MPI2_PM_CONTROL_PARAM1_EIGHTH_IOC_SPEED (0x08)
|
||||
/* Parameter2, Parameter3, and Parameter4 are reserved */
|
||||
|
||||
|
||||
/* PowerManagementControl Reply message */
|
||||
typedef struct _MPI2_PWR_MGMT_CONTROL_REPLY {
|
||||
U8 Feature; /* 0x00 */
|
||||
U8 Reserved1; /* 0x01 */
|
||||
U8 MsgLength; /* 0x02 */
|
||||
U8 Function; /* 0x03 */
|
||||
U16 Reserved2; /* 0x04 */
|
||||
U8 Reserved3; /* 0x06 */
|
||||
U8 MsgFlags; /* 0x07 */
|
||||
U8 VP_ID; /* 0x08 */
|
||||
U8 VF_ID; /* 0x09 */
|
||||
U16 Reserved4; /* 0x0A */
|
||||
U16 Reserved5; /* 0x0C */
|
||||
U16 IOCStatus; /* 0x0E */
|
||||
U32 IOCLogInfo; /* 0x10 */
|
||||
} MPI2_PWR_MGMT_CONTROL_REPLY, MPI2_POINTER PTR_MPI2_PWR_MGMT_CONTROL_REPLY,
|
||||
Mpi2PwrMgmtControlReply_t, MPI2_POINTER pMpi2PwrMgmtControlReply_t;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user