提交 0be3f4c9 编写于 作者: S sumit.saxena@avagotech.com 提交者: Martin K. Petersen

megaraid_sas: Synchronize driver headers with firmware APIs

Signed-off-by: NSumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: NKashyap Desai <kashyap.desai@avagotech.com>
Reviewed-by: NMartin Petersen <martin.petersen@oracle.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 b704f70c
...@@ -973,7 +973,11 @@ struct megasas_ctrl_info { ...@@ -973,7 +973,11 @@ struct megasas_ctrl_info {
struct { struct {
#if defined(__BIG_ENDIAN_BITFIELD) #if defined(__BIG_ENDIAN_BITFIELD)
u32 reserved:12; u32 reserved:8;
u32 supportExtendedSSCSize:1;
u32 supportDiskCacheSettingForSysPDs:1;
u32 supportCPLDUpdate:1;
u32 supportTTYLogCompression:1;
u32 discardCacheDuringLDDelete:1; u32 discardCacheDuringLDDelete:1;
u32 supportSecurityonJBOD:1; u32 supportSecurityonJBOD:1;
u32 supportCacheBypassModes:1; u32 supportCacheBypassModes:1;
...@@ -1013,7 +1017,11 @@ struct megasas_ctrl_info { ...@@ -1013,7 +1017,11 @@ struct megasas_ctrl_info {
u32 supportCacheBypassModes:1; u32 supportCacheBypassModes:1;
u32 supportSecurityonJBOD:1; u32 supportSecurityonJBOD:1;
u32 discardCacheDuringLDDelete:1; u32 discardCacheDuringLDDelete:1;
u32 reserved:12; u32 supportTTYLogCompression:1;
u32 supportCPLDUpdate:1;
u32 supportDiskCacheSettingForSysPDs:1;
u32 supportExtendedSSCSize:1;
u32 reserved:8;
#endif #endif
} adapterOperations3; } adapterOperations3;
...@@ -1229,7 +1237,8 @@ union megasas_sgl_frame { ...@@ -1229,7 +1237,8 @@ union megasas_sgl_frame {
typedef union _MFI_CAPABILITIES { typedef union _MFI_CAPABILITIES {
struct { struct {
#if defined(__BIG_ENDIAN_BITFIELD) #if defined(__BIG_ENDIAN_BITFIELD)
u32 reserved:25; u32 reserved:24;
u32 support_ext_queue_depth:1;
u32 security_protocol_cmds_fw:1; u32 security_protocol_cmds_fw:1;
u32 support_core_affinity:1; u32 support_core_affinity:1;
u32 support_ndrive_r1_lb:1; u32 support_ndrive_r1_lb:1;
...@@ -1245,7 +1254,8 @@ typedef union _MFI_CAPABILITIES { ...@@ -1245,7 +1254,8 @@ typedef union _MFI_CAPABILITIES {
u32 support_ndrive_r1_lb:1; u32 support_ndrive_r1_lb:1;
u32 support_core_affinity:1; u32 support_core_affinity:1;
u32 security_protocol_cmds_fw:1; u32 security_protocol_cmds_fw:1;
u32 reserved:25; u32 support_ext_queue_depth:1;
u32 reserved:24;
#endif #endif
} mfi_capabilities; } mfi_capabilities;
__le32 reg; __le32 reg;
......
...@@ -117,7 +117,8 @@ struct RAID_CONTEXT { ...@@ -117,7 +117,8 @@ struct RAID_CONTEXT {
u8 numSGE; u8 numSGE;
__le16 configSeqNum; __le16 configSeqNum;
u8 spanArm; u8 spanArm;
u8 resvd2[3]; u8 priority;
u8 resvd2[2];
}; };
#define RAID_CTX_SPANARM_ARM_SHIFT (0) #define RAID_CTX_SPANARM_ARM_SHIFT (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册