From 665b223d57369d8b28dcdc81352428adfe435ff4 Mon Sep 17 00:00:00 2001 From: HoraceX Lien Date: Mon, 27 May 2024 13:27:15 +0800 Subject: ShellPkg/Pci.c: Update supported link speed to PCIe Gen6 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4779 Refer to PCI express base specification Reversion 6.2, table 7-23 Link Capabilities Register. Supported Link Speeds Vector bit 5: speed 64 GT/s. Add the support to shell command 'pci'. Signed-off-by: HoraceX Lien Cc: Zhichao Gao Reviewed-by: Zhichao Gao --- ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c index 7b11f49..9362273 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c @@ -4809,6 +4809,9 @@ ExplainPcieLinkCap ( case 5: MaxLinkSpeed = L"32.0 GT/s"; break; + case 6: + MaxLinkSpeed = L"64.0 GT/s"; + break; default: MaxLinkSpeed = L"Reserved"; break; @@ -5015,6 +5018,9 @@ ExplainPcieLinkStatus ( case 5: CurLinkSpeed = L"32.0 GT/s"; break; + case 6: + CurLinkSpeed = L"64.0 GT/s"; + break; default: CurLinkSpeed = L"Reserved"; break; -- cgit v1.1