[SCSI] scsi_transport_sas: add 12GB definitions for mpt3sas
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>
Fri, 30 Nov 2012 02:13:11 +0000 (07:43 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 1 Dec 2012 10:08:41 +0000 (10:08 +0000)
[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>
drivers/scsi/scsi_transport_sas.c
include/scsi/scsi_transport_sas.h

index f7565fc4f0e344a0862bfaf02148c826fa7e7538..1b681427dde045cdad8f2455c07467fba4f077f1 100644 (file)
@@ -151,6 +151,7 @@ static struct {
        { SAS_LINK_RATE_1_5_GBPS,       "1.5 Gbit" },
        { SAS_LINK_RATE_3_0_GBPS,       "3.0 Gbit" },
        { SAS_LINK_RATE_6_0_GBPS,       "6.0 Gbit" },
+       { SAS_LINK_RATE_12_0_GBPS,      "12.0 Gbit" },
 };
 sas_bitfield_name_search(linkspeed, sas_linkspeed_names)
 sas_bitfield_name_set(linkspeed, sas_linkspeed_names)
index 98b3a20a01026be42c16bbf742f067347d186680..9b8e08879cfc9d7f7038245cf12e9b162f0f7f4e 100644 (file)
@@ -36,6 +36,7 @@ enum sas_linkrate {
        SAS_LINK_RATE_3_0_GBPS = 9,
        SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS,
        SAS_LINK_RATE_6_0_GBPS = 10,
+       SAS_LINK_RATE_12_0_GBPS = 11,
        /* These are virtual to the transport class and may never
         * be signalled normally since the standard defined field
         * is only 4 bits */