Browse Source

[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 years ago
parent
commit
f12164200f
1 changed files with 1 additions and 0 deletions
  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);
 }
 }