diff options
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 6 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 2a2f49134491..c8d25a739d38 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h | |||
@@ -1537,7 +1537,8 @@ union megasas_sgl_frame { | |||
1537 | typedef union _MFI_CAPABILITIES { | 1537 | typedef union _MFI_CAPABILITIES { |
1538 | struct { | 1538 | struct { |
1539 | #if defined(__BIG_ENDIAN_BITFIELD) | 1539 | #if defined(__BIG_ENDIAN_BITFIELD) |
1540 | u32 reserved:21; | 1540 | u32 reserved:20; |
1541 | u32 support_qd_throttling:1; | ||
1541 | u32 support_fp_rlbypass:1; | 1542 | u32 support_fp_rlbypass:1; |
1542 | u32 support_vfid_in_ioframe:1; | 1543 | u32 support_vfid_in_ioframe:1; |
1543 | u32 support_ext_io_size:1; | 1544 | u32 support_ext_io_size:1; |
@@ -1561,7 +1562,8 @@ typedef union _MFI_CAPABILITIES { | |||
1561 | u32 support_ext_io_size:1; | 1562 | u32 support_ext_io_size:1; |
1562 | u32 support_vfid_in_ioframe:1; | 1563 | u32 support_vfid_in_ioframe:1; |
1563 | u32 support_fp_rlbypass:1; | 1564 | u32 support_fp_rlbypass:1; |
1564 | u32 reserved:21; | 1565 | u32 support_qd_throttling:1; |
1566 | u32 reserved:20; | ||
1565 | #endif | 1567 | #endif |
1566 | } mfi_capabilities; | 1568 | } mfi_capabilities; |
1567 | __le32 reg; | 1569 | __le32 reg; |
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 6b8547cf9de4..2c4912f68225 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c | |||
@@ -803,6 +803,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance) | |||
803 | if (!dual_qdepth_disable) | 803 | if (!dual_qdepth_disable) |
804 | drv_ops->mfi_capabilities.support_ext_queue_depth = 1; | 804 | drv_ops->mfi_capabilities.support_ext_queue_depth = 1; |
805 | 805 | ||
806 | drv_ops->mfi_capabilities.support_qd_throttling = 1; | ||
806 | /* Convert capability to LE32 */ | 807 | /* Convert capability to LE32 */ |
807 | cpu_to_le32s((u32 *)&init_frame->driver_operations.mfi_capabilities); | 808 | cpu_to_le32s((u32 *)&init_frame->driver_operations.mfi_capabilities); |
808 | 809 | ||