瀏覽代碼

[SCSI] aic94xx: Set lldd_max_execute_num in sas_ha

The aic94xx module has a parameter that looks like it should set
lldd_max_execute_num in the sas_ha, but it never sets this value.  Either
we should set it or remove the parameter.  This allows us to enable task
collector mode for this driver, though it is still off by default.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Darrick J. Wong 18 年之前
父節點
當前提交
f12164200f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/scsi/aic94xx/aic94xx_init.c

+ 1 - 0
drivers/scsi/aic94xx/aic94xx_init.c

@@ -526,6 +526,7 @@ static int asd_register_sas_ha(struct asd_ha_struct *asd_ha)
 	asd_ha->sas_ha.num_phys= ASD_MAX_PHYS;
 	asd_ha->sas_ha.num_phys= ASD_MAX_PHYS;
 
 
 	asd_ha->sas_ha.lldd_queue_size = asd_ha->seq.can_queue;
 	asd_ha->sas_ha.lldd_queue_size = asd_ha->seq.can_queue;
+	asd_ha->sas_ha.lldd_max_execute_num = lldd_max_execute_num;
 
 
 	return sas_register_ha(&asd_ha->sas_ha);
 	return sas_register_ha(&asd_ha->sas_ha);
 }
 }