diff options
author | jack_wang <jack_wang@usish.com> | 2009-11-05 09:32:31 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:30 -0500 |
commit | d0b68041bdd0e5ea6dae1210541bf124443d72ec (patch) | |
tree | 2bad62cf3df725f9d0b818d68569d24abee4f7ab /drivers/scsi/pm8001/pm8001_sas.c | |
parent | d139b9bd0e52dda14fd13412e7096e68b56d0076 (diff) |
[SCSI] pm8001: add reinitialize SPC parameters before phy start
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_sas.c')
-rw-r--r-- | drivers/scsi/pm8001/pm8001_sas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c index 7bf30fa6963a..1e840fd15160 100644 --- a/drivers/scsi/pm8001/pm8001_sas.c +++ b/drivers/scsi/pm8001/pm8001_sas.c | |||
@@ -240,6 +240,7 @@ void pm8001_scan_start(struct Scsi_Host *shost) | |||
240 | struct pm8001_hba_info *pm8001_ha; | 240 | struct pm8001_hba_info *pm8001_ha; |
241 | struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); | 241 | struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); |
242 | pm8001_ha = sha->lldd_ha; | 242 | pm8001_ha = sha->lldd_ha; |
243 | PM8001_CHIP_DISP->sas_re_init_req(pm8001_ha); | ||
243 | for (i = 0; i < pm8001_ha->chip->n_phy; ++i) | 244 | for (i = 0; i < pm8001_ha->chip->n_phy; ++i) |
244 | PM8001_CHIP_DISP->phy_start_req(pm8001_ha, i); | 245 | PM8001_CHIP_DISP->phy_start_req(pm8001_ha, i); |
245 | } | 246 | } |