diff options
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_init.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index 69aa70887530..302b54fddf3c 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -240,10 +240,14 @@ static int __devinit asd_common_setup(struct asd_ha_struct *asd_ha) | |||
240 | /* All phys are enabled, by default. */ | 240 | /* All phys are enabled, by default. */ |
241 | asd_ha->hw_prof.enabled_phys = 0xFF; | 241 | asd_ha->hw_prof.enabled_phys = 0xFF; |
242 | for (i = 0; i < ASD_MAX_PHYS; i++) { | 242 | for (i = 0; i < ASD_MAX_PHYS; i++) { |
243 | asd_ha->hw_prof.phy_desc[i].max_sas_lrate = PHY_LINKRATE_3; | 243 | asd_ha->hw_prof.phy_desc[i].max_sas_lrate = |
244 | asd_ha->hw_prof.phy_desc[i].min_sas_lrate = PHY_LINKRATE_1_5; | 244 | SAS_LINK_RATE_3_0_GBPS; |
245 | asd_ha->hw_prof.phy_desc[i].max_sata_lrate= PHY_LINKRATE_1_5; | 245 | asd_ha->hw_prof.phy_desc[i].min_sas_lrate = |
246 | asd_ha->hw_prof.phy_desc[i].min_sata_lrate= PHY_LINKRATE_1_5; | 246 | SAS_LINK_RATE_1_5_GBPS; |
247 | asd_ha->hw_prof.phy_desc[i].max_sata_lrate = | ||
248 | SAS_LINK_RATE_1_5_GBPS; | ||
249 | asd_ha->hw_prof.phy_desc[i].min_sata_lrate = | ||
250 | SAS_LINK_RATE_1_5_GBPS; | ||
247 | } | 251 | } |
248 | 252 | ||
249 | return 0; | 253 | return 0; |