diff options
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 26865290c22a..eb4f4de19338 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c | |||
@@ -82,6 +82,10 @@ u16 MR_TargetIdToLdGet(u32 ldTgtId, struct MR_FW_RAID_MAP_ALL *map); | |||
82 | struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_FW_RAID_MAP_ALL *map); | 82 | struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_FW_RAID_MAP_ALL *map); |
83 | 83 | ||
84 | u16 MR_GetLDTgtId(u32 ld, struct MR_FW_RAID_MAP_ALL *map); | 84 | u16 MR_GetLDTgtId(u32 ld, struct MR_FW_RAID_MAP_ALL *map); |
85 | |||
86 | void | ||
87 | megasas_check_and_restore_queue_depth(struct megasas_instance *instance); | ||
88 | |||
85 | u8 MR_ValidateMapInfo(struct MR_FW_RAID_MAP_ALL *map, | 89 | u8 MR_ValidateMapInfo(struct MR_FW_RAID_MAP_ALL *map, |
86 | struct LD_LOAD_BALANCE_INFO *lbInfo); | 90 | struct LD_LOAD_BALANCE_INFO *lbInfo); |
87 | u16 get_updated_dev_handle(struct LD_LOAD_BALANCE_INFO *lbInfo, | 91 | u16 get_updated_dev_handle(struct LD_LOAD_BALANCE_INFO *lbInfo, |
@@ -1746,7 +1750,7 @@ complete_cmd_fusion(struct megasas_instance *instance) | |||
1746 | wmb(); | 1750 | wmb(); |
1747 | writel(fusion->last_reply_idx, | 1751 | writel(fusion->last_reply_idx, |
1748 | &instance->reg_set->reply_post_host_index); | 1752 | &instance->reg_set->reply_post_host_index); |
1749 | 1753 | megasas_check_and_restore_queue_depth(instance); | |
1750 | return IRQ_HANDLED; | 1754 | return IRQ_HANDLED; |
1751 | } | 1755 | } |
1752 | 1756 | ||