]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
lspci: Label PCIe LnkCap "L0s Exit Latency" as "L0s", not "L0"
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 9 Sep 2013 23:13:45 +0000 (17:13 -0600)
committerMartin Mares <mj@ucw.cz>
Sun, 10 Nov 2013 11:32:55 +0000 (12:32 +0100)
The PCIe Link Capabilities "L0s Exit Latency" is the latency to exit
L0s, not L0, so label it "L0s" instead of "L0".  This matches the
way we label the Device Capabilities "Endpoint L0s Acceptable Latency"
field as "Latency L0s".  This also adds "Exit" to the description to
help distinguish it from the "Acceptable Latency" fields in the
Device Capabilities register.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
ls-caps.c

index be19d386829a2226af926f9fd9ac7f1c2085f7c9..a1a1546beb953c4298c16548591681e8c9ba0b5a 100644 (file)
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -753,7 +753,7 @@ static void cap_express_link(struct device *d, int where, int type)
   u16 w;
 
   t = get_conf_long(d, where + PCI_EXP_LNKCAP);
-  printf("\t\tLnkCap:\tPort #%d, Speed %s, Width x%d, ASPM %s, Latency L0 %s, L1 %s\n",
+  printf("\t\tLnkCap:\tPort #%d, Speed %s, Width x%d, ASPM %s, Exit Latency L0s %s, L1 %s\n",
        t >> 24,
        link_speed(t & PCI_EXP_LNKCAP_SPEED), (t & PCI_EXP_LNKCAP_WIDTH) >> 4,
        aspm_support((t & PCI_EXP_LNKCAP_ASPM) >> 10),