diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-09-06 18:36:13 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-07 13:41:16 -0400 |
commit | 88edf74610bd894b93438f389688bc8b4a2d3414 (patch) | |
tree | 5f22ad465f07a8eda5576185db2e24ac7797d68a /drivers/scsi/aic94xx/aic94xx_hwi.c | |
parent | b4620233d6a3510564c561a5a2a365a1d8a34b68 (diff) |
[SCSI] SAS: consolidate linkspeed definitions
At the moment we have two separate linkspeed enumerations covering
roughly the same values. This patch consolidates on a single one enum
sas_linkspeed in scsi_transport_sas.h and uses it everywhere in the
aic94xx driver. Eventually I'll get around to removing the duplicated
fields in asd_sas_phy and sas_phy ...
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_hwi.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_hwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_hwi.c b/drivers/scsi/aic94xx/aic94xx_hwi.c index 075cea85b56b..a24201351108 100644 --- a/drivers/scsi/aic94xx/aic94xx_hwi.c +++ b/drivers/scsi/aic94xx/aic94xx_hwi.c | |||
@@ -96,7 +96,7 @@ static int asd_init_phy(struct asd_phy *phy) | |||
96 | sas_phy->type = PHY_TYPE_PHYSICAL; | 96 | sas_phy->type = PHY_TYPE_PHYSICAL; |
97 | sas_phy->role = PHY_ROLE_INITIATOR; | 97 | sas_phy->role = PHY_ROLE_INITIATOR; |
98 | sas_phy->oob_mode = OOB_NOT_CONNECTED; | 98 | sas_phy->oob_mode = OOB_NOT_CONNECTED; |
99 | sas_phy->linkrate = PHY_LINKRATE_NONE; | 99 | sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; |
100 | 100 | ||
101 | phy->id_frm_tok = asd_alloc_coherent(asd_ha, | 101 | phy->id_frm_tok = asd_alloc_coherent(asd_ha, |
102 | sizeof(*phy->identify_frame), | 102 | sizeof(*phy->identify_frame), |