]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
lspci: Use spec name for RCRB ((Root Complex Register Block)
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Apr 2018 20:16:47 +0000 (15:16 -0500)
committerMartin Mares <mj@ucw.cz>
Fri, 20 Apr 2018 08:23:11 +0000 (10:23 +0200)
Extended Capability ID 0x000a is the RCRB (Root Complex Register Block)
capability.  Change the #define and the capability label to match the
terminology used in the specs.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
lib/header.h
ls-ecaps.c

index 0a8a5486bac538bb16e2e755c02a48ee888ad92c..d785473c3c5405a2e5c5c386c9dfc8b80264830b 100644 (file)
 #define PCI_EXT_CAP_ID_RCECOLL 0x07    /* Root Complex Event Collector */
 #define PCI_EXT_CAP_ID_MFVC    0x08    /* Multi-Function Virtual Channel */
 #define PCI_EXT_CAP_ID_VC2     0x09    /* Virtual Channel (2nd ID) */
-#define PCI_EXT_CAP_ID_RBCB    0x0a    /* Root Bridge Control Block */
+#define PCI_EXT_CAP_ID_RCRB    0x0a    /* Root Complex Register Block */
 #define PCI_EXT_CAP_ID_VNDR    0x0b    /* Vendor specific */
 #define PCI_EXT_CAP_ID_ACS     0x0d    /* Access Controls */
 #define PCI_EXT_CAP_ID_ARI     0x0e    /* Alternative Routing-ID Interpretation */
index a6ae751dd3a01b79a0de1215e0b04e0ae461fbf9..55059480ee7a417bf5311a60e042e15babdcb375 100644 (file)
@@ -768,8 +768,8 @@ show_ext_caps(struct device *d, int type)
          case PCI_EXT_CAP_ID_MFVC:
            printf("Multi-Function Virtual Channel <?>\n");
            break;
-         case PCI_EXT_CAP_ID_RBCB:
-           printf("Root Bridge Control Block <?>\n");
+         case PCI_EXT_CAP_ID_RCRB:
+           printf("Root Complex Register Block <?>\n");
            break;
          case PCI_EXT_CAP_ID_VNDR:
            cap_evendor(d, where);