aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>2012-11-29 21:13:11 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-12-01 05:08:41 -0500
commitd84fd392bd61524c4d81367969424e6c17086c8c (patch)
treea51d9f1a54d3e280792088309db375971531e666
parent78ad724ade23c66650dcaba04f4d2307c2884c69 (diff)
[SCSI] scsi_transport_sas: add 12GB definitions for mpt3sas
[jejb: split this core change into a separate patch] Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com> Reviewed-by: Nagalakshmi Nandigama <Nagalakshmi.Nandigama@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/scsi_transport_sas.c1
-rw-r--r--include/scsi/scsi_transport_sas.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index f7565fc4f0e3..1b681427dde0 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -151,6 +151,7 @@ static struct {
151 { SAS_LINK_RATE_1_5_GBPS, "1.5 Gbit" }, 151 { SAS_LINK_RATE_1_5_GBPS, "1.5 Gbit" },
152 { SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" }, 152 { SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" },
153 { SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" }, 153 { SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" },
154 { SAS_LINK_RATE_12_0_GBPS, "12.0 Gbit" },
154}; 155};
155sas_bitfield_name_search(linkspeed, sas_linkspeed_names) 156sas_bitfield_name_search(linkspeed, sas_linkspeed_names)
156sas_bitfield_name_set(linkspeed, sas_linkspeed_names) 157sas_bitfield_name_set(linkspeed, sas_linkspeed_names)
diff --git a/include/scsi/scsi_transport_sas.h b/include/scsi/scsi_transport_sas.h
index 98b3a20a0102..9b8e08879cfc 100644
--- a/include/scsi/scsi_transport_sas.h
+++ b/include/scsi/scsi_transport_sas.h
@@ -36,6 +36,7 @@ enum sas_linkrate {
36 SAS_LINK_RATE_3_0_GBPS = 9, 36 SAS_LINK_RATE_3_0_GBPS = 9,
37 SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS, 37 SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS,
38 SAS_LINK_RATE_6_0_GBPS = 10, 38 SAS_LINK_RATE_6_0_GBPS = 10,
39 SAS_LINK_RATE_12_0_GBPS = 11,
39 /* These are virtual to the transport class and may never 40 /* These are virtual to the transport class and may never
40 * be signalled normally since the standard defined field 41 * be signalled normally since the standard defined field
41 * is only 4 bits */ 42 * is only 4 bits */