[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>
This commit is contained in:
committed by
James Bottomley
parent
b4620233d6
commit
88edf74610
@@ -102,20 +102,6 @@ enum sas_dev_type {
|
||||
SATA_PM_PORT= 8,
|
||||
};
|
||||
|
||||
enum sas_phy_linkrate {
|
||||
PHY_LINKRATE_NONE = 0,
|
||||
PHY_LINKRATE_UNKNOWN = 0,
|
||||
PHY_DISABLED,
|
||||
PHY_RESET_PROBLEM,
|
||||
PHY_SPINUP_HOLD,
|
||||
PHY_PORT_SELECTOR,
|
||||
PHY_LINKRATE_1_5 = 0x08,
|
||||
PHY_LINKRATE_G1 = PHY_LINKRATE_1_5,
|
||||
PHY_LINKRATE_3 = 0x09,
|
||||
PHY_LINKRATE_G2 = PHY_LINKRATE_3,
|
||||
PHY_LINKRATE_6 = 0x0A,
|
||||
};
|
||||
|
||||
/* Partly from IDENTIFY address frame. */
|
||||
enum sas_proto {
|
||||
SATA_PROTO = 1,
|
||||
|
Reference in New Issue
Block a user