aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2023-10-18 11:08:33 -0500
committerMartin Mares <mj@ucw.cz>2023-10-18 20:57:05 +0200
commit011ca4bb4baad6e3e4334ac6609ba99e771dbf98 (patch)
tree3be58a6bd59ad5f59fc8f8acf2c5840eb71403de
parent7d2b2d69d7ad8ef3dd687fe8ed07f5f92a06927d (diff)
downloadpciutils-011ca4bb4baad6e3e4334ac6609ba99e771dbf98.tar.gz
lspci: Decode PCIe LnkCtl Link Disable as 'LnkDisable'
Decode the Link Disable bit as "LnkDisable" (not simply "Disable") to match the spec terminology (PCIe r6.0, sec 7.5.3.7) Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--ls-caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-caps.c b/ls-caps.c
index 0d333d5..6c5b73b 100644
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -841,7 +841,7 @@ static void cap_express_link(struct device *d, int where, int type)
if ((type == PCI_EXP_TYPE_ROOT_PORT) || (type == PCI_EXP_TYPE_ENDPOINT) ||
(type == PCI_EXP_TYPE_LEG_END) || (type == PCI_EXP_TYPE_PCI_BRIDGE))
printf(" RCB %d bytes,", w & PCI_EXP_LNKCTL_RCB ? 128 : 64);
- printf(" Disabled%c CommClk%c\n\t\t\tExtSynch%c ClockPM%c AutWidDis%c BWInt%c AutBWInt%c\n",
+ printf(" LnkDisable%c CommClk%c\n\t\t\tExtSynch%c ClockPM%c AutWidDis%c BWInt%c AutBWInt%c\n",
FLAG(w, PCI_EXP_LNKCTL_DISABLE),
FLAG(w, PCI_EXP_LNKCTL_CLOCK),
FLAG(w, PCI_EXP_LNKCTL_XSYNCH),