scsi: scsi_transport_sas: Add 22.5 Gbps link rate definitions
Add 22.5 Gbps link rate definitions. Link: https://lore.kernel.org/r/20211018070611.26428-1-sreekanth.reddy@broadcom.com Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
1b74ab77d6
commit
3d8fa78ebd
@ -154,6 +154,7 @@ static struct {
|
|||||||
{ SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" },
|
{ SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" },
|
||||||
{ SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" },
|
{ SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" },
|
||||||
{ SAS_LINK_RATE_12_0_GBPS, "12.0 Gbit" },
|
{ SAS_LINK_RATE_12_0_GBPS, "12.0 Gbit" },
|
||||||
|
{ SAS_LINK_RATE_22_5_GBPS, "22.5 Gbit" },
|
||||||
};
|
};
|
||||||
sas_bitfield_name_search(linkspeed, sas_linkspeed_names)
|
sas_bitfield_name_search(linkspeed, sas_linkspeed_names)
|
||||||
sas_bitfield_name_set(linkspeed, sas_linkspeed_names)
|
sas_bitfield_name_set(linkspeed, sas_linkspeed_names)
|
||||||
|
@ -41,6 +41,7 @@ enum sas_linkrate {
|
|||||||
SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS,
|
SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS,
|
||||||
SAS_LINK_RATE_6_0_GBPS = 10,
|
SAS_LINK_RATE_6_0_GBPS = 10,
|
||||||
SAS_LINK_RATE_12_0_GBPS = 11,
|
SAS_LINK_RATE_12_0_GBPS = 11,
|
||||||
|
SAS_LINK_RATE_22_5_GBPS = 12,
|
||||||
/* These are virtual to the transport class and may never
|
/* These are virtual to the transport class and may never
|
||||||
* be signalled normally since the standard defined field
|
* be signalled normally since the standard defined field
|
||||||
* is only 4 bits */
|
* is only 4 bits */
|
||||||
|
Loading…
Reference in New Issue
Block a user