mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-24 13:44:21 +07:00
[SCSI] qla2xxx: Use PCI-SIG nomenclature for PCIe bandwidth units.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
587f4cae4a
commit
c87a0d8c8d
@ -249,9 +249,9 @@ qla24xx_pci_info_str(struct scsi_qla_host *ha, char *str)
|
|||||||
|
|
||||||
strcpy(str, "PCIe (");
|
strcpy(str, "PCIe (");
|
||||||
if (lspeed == 1)
|
if (lspeed == 1)
|
||||||
strcat(str, "2.5Gb/s ");
|
strcat(str, "2.5GT/s ");
|
||||||
else if (lspeed == 2)
|
else if (lspeed == 2)
|
||||||
strcat(str, "5.0Gb/s ");
|
strcat(str, "5.0GT/s ");
|
||||||
else
|
else
|
||||||
strcat(str, "<unknown> ");
|
strcat(str, "<unknown> ");
|
||||||
snprintf(lwstr, sizeof(lwstr), "x%d)", lwidth);
|
snprintf(lwstr, sizeof(lwstr), "x%d)", lwidth);
|
||||||
|
Loading…
Reference in New Issue
Block a user