Skip to content

Commit 3d8fa78

Browse files
sreekanthbrcmmartinkpetersen
authored andcommitted
scsi: scsi_transport_sas: Add 22.5 Gbps link rate definitions
Add 22.5 Gbps link rate definitions. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: John Garry <[email protected]> Signed-off-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 1b74ab7 commit 3d8fa78

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/scsi/scsi_transport_sas.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ static struct {
154154
{ SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" },
155155
{ SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" },
156156
{ SAS_LINK_RATE_12_0_GBPS, "12.0 Gbit" },
157+
{ SAS_LINK_RATE_22_5_GBPS, "22.5 Gbit" },
157158
};
158159
sas_bitfield_name_search(linkspeed, sas_linkspeed_names)
159160
sas_bitfield_name_set(linkspeed, sas_linkspeed_names)

include/scsi/scsi_transport_sas.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ enum sas_linkrate {
4141
SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS,
4242
SAS_LINK_RATE_6_0_GBPS = 10,
4343
SAS_LINK_RATE_12_0_GBPS = 11,
44+
SAS_LINK_RATE_22_5_GBPS = 12,
4445
/* These are virtual to the transport class and may never
4546
* be signalled normally since the standard defined field
4647
* is only 4 bits */

0 commit comments

Comments
 (0)