Skip to content

Commit 4be7599

Browse files
Ranjan Kumarmartinkpetersen
authored andcommitted
scsi: mpt3sas: Add support for 22.5 Gbps SAS link rate
Add handling for MPI26_SAS_NEG_LINK_RATE_22_5 in _transport_convert_phy_link_rate(). This maps the new 22.5 Gbps negotiated rate to SAS_LINK_RATE_22_5_GBPS, to get correct PHY link speeds. Signed-off-by: Ranjan Kumar <[email protected]> Message-Id: <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 27f0b41 commit 4be7599

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/scsi/mpt3sas/mpt3sas_transport.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ _transport_convert_phy_link_rate(u8 link_rate)
166166
case MPI25_SAS_NEG_LINK_RATE_12_0:
167167
rc = SAS_LINK_RATE_12_0_GBPS;
168168
break;
169+
case MPI26_SAS_NEG_LINK_RATE_22_5:
170+
rc = SAS_LINK_RATE_22_5_GBPS;
171+
break;
169172
case MPI2_SAS_NEG_LINK_RATE_PHY_DISABLED:
170173
rc = SAS_PHY_DISABLED;
171174
break;

0 commit comments

Comments
 (0)