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 /include/scsi/sas.h | |
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 'include/scsi/sas.h')
-rw-r--r-- | include/scsi/sas.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/scsi/sas.h b/include/scsi/sas.h index 752853a113dc..9c8a5b91ae64 100644 --- a/include/scsi/sas.h +++ b/include/scsi/sas.h | |||
@@ -102,20 +102,6 @@ enum sas_dev_type { | |||
102 | SATA_PM_PORT= 8, | 102 | SATA_PM_PORT= 8, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | enum sas_phy_linkrate { | ||
106 | PHY_LINKRATE_NONE = 0, | ||
107 | PHY_LINKRATE_UNKNOWN = 0, | ||
108 | PHY_DISABLED, | ||
109 | PHY_RESET_PROBLEM, | ||
110 | PHY_SPINUP_HOLD, | ||
111 | PHY_PORT_SELECTOR, | ||
112 | PHY_LINKRATE_1_5 = 0x08, | ||
113 | PHY_LINKRATE_G1 = PHY_LINKRATE_1_5, | ||
114 | PHY_LINKRATE_3 = 0x09, | ||
115 | PHY_LINKRATE_G2 = PHY_LINKRATE_3, | ||
116 | PHY_LINKRATE_6 = 0x0A, | ||
117 | }; | ||
118 | |||
119 | /* Partly from IDENTIFY address frame. */ | 105 | /* Partly from IDENTIFY address frame. */ |
120 | enum sas_proto { | 106 | enum sas_proto { |
121 | SATA_PROTO = 1, | 107 | SATA_PROTO = 1, |