]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - ls-caps.c
lspci: Decode ASPMOptComp bit in LnkCap register
[thirdparty/pciutils.git] / ls-caps.c
index f192510181f3fda96803269879bf266315dcad8e..276a94d6951781a2078da2458de507460d99d1cd 100644 (file)
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -765,11 +765,12 @@ static void cap_express_link(struct device *d, int where, int type)
        aspm_support((t & PCI_EXP_LNKCAP_ASPM) >> 10),
        latency_l0s((t & PCI_EXP_LNKCAP_L0S) >> 12),
        latency_l1((t & PCI_EXP_LNKCAP_L1) >> 15));
-  printf("\t\t\tClockPM%c Surprise%c LLActRep%c BwNot%c\n",
+  printf("\t\t\tClockPM%c Surprise%c LLActRep%c BwNot%c ASPMOptComp%c\n",
        FLAG(t, PCI_EXP_LNKCAP_CLOCKPM),
        FLAG(t, PCI_EXP_LNKCAP_SURPRISE),
        FLAG(t, PCI_EXP_LNKCAP_DLLA),
-       FLAG(t, PCI_EXP_LNKCAP_LBNC));
+       FLAG(t, PCI_EXP_LNKCAP_LBNC),
+       FLAG(t, PCI_EXP_LNKCAP_AOC));
 
   w = get_conf_word(d, where + PCI_EXP_LNKCTL);
   printf("\t\tLnkCtl:\tASPM %s;", aspm_enabled(w & PCI_EXP_LNKCTL_ASPM));