diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-23 18:49:33 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-25 16:09:08 +0800 |
commit | c831a2c3b0b2a2a7097280df95d2af49f0dbe269 (patch) | |
tree | 71efb79f58b0cdf45bed0c24b933a7f833b079d3 /ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni | |
parent | 0c84a69fbe0b745df648154b8cf7532766474bf5 (diff) | |
download | edk2-c831a2c3b0b2a2a7097280df95d2af49f0dbe269.tar.gz edk2-c831a2c3b0b2a2a7097280df95d2af49f0dbe269.tar.bz2 edk2-c831a2c3b0b2a2a7097280df95d2af49f0dbe269.zip |
ShellPkg/pci: Support interpreting specific PCIE ext cap thru "-ec"
The implementation was already there but through a private flag
"-_e". The patch removes "-_e" support and add "-ec" support.
Removing old "-_e" support makes the pci command more clean.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni index 609e1a8077..8ea4215f9c 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni @@ -895,17 +895,20 @@ #string STR_GET_HELP_PCI #language en-US ""
".TH pci 0 "Displays PCI device information."\r\n"
".SH NAME\r\n"
-"Displays a PCI device list or PCI function configuration space of a device.\r\n"
+"Displays PCI device list or PCI function configuration space and PCIe extended\r\n"
+"configuration space.\r\n"
".SH SYNOPSIS\r\n"
" \r\n"
-"PCI [Bus Dev [Func] [-s Seg] [-i]]\r\n"
+"PCI [Bus Dev [Func] [-s Seg] [-i [-ec ID]]]\r\n"
".SH OPTIONS\r\n"
" \r\n"
-" -s - Specifies optional segment number.\r\n"
+" -s - Specifies optional segment number (hexadecimal number).\r\n"
" -i - Displays interpreted information.\r\n"
-" Bus - Specifies a bus number.\r\n"
-" Dev - Specifies a device number.\r\n"
-" Func - Specifies a function number.\r\n"
+" -ec - Displays detailed interpretation of specified PCIe extended capability\r\n"
+" ID (hexadecimal number).\r\n"
+" Bus - Specifies a bus number (hexadecimal number).\r\n"
+" Dev - Specifies a device number (hexadecimal number).\r\n"
+" Func - Specifies a function number (hexadecimal number).\r\n"
".SH DESCRIPTION\r\n"
" \r\n"
"NOTES:\r\n"
|