Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sreekanth Reddy and committed by
Martin K. Petersen
3d8fa78e 1b74ab77

+2
+1
drivers/scsi/scsi_transport_sas.c
··· 154 154 { SAS_LINK_RATE_3_0_GBPS, "3.0 Gbit" }, 155 155 { SAS_LINK_RATE_6_0_GBPS, "6.0 Gbit" }, 156 156 { SAS_LINK_RATE_12_0_GBPS, "12.0 Gbit" }, 157 + { SAS_LINK_RATE_22_5_GBPS, "22.5 Gbit" }, 157 158 }; 158 159 sas_bitfield_name_search(linkspeed, sas_linkspeed_names) 159 160 sas_bitfield_name_set(linkspeed, sas_linkspeed_names)
+1
include/scsi/scsi_transport_sas.h
··· 41 41 SAS_LINK_RATE_G2 = SAS_LINK_RATE_3_0_GBPS, 42 42 SAS_LINK_RATE_6_0_GBPS = 10, 43 43 SAS_LINK_RATE_12_0_GBPS = 11, 44 + SAS_LINK_RATE_22_5_GBPS = 12, 44 45 /* These are virtual to the transport class and may never 45 46 * be signalled normally since the standard defined field 46 47 * is only 4 bits */