]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Renumbered PCI_CAP_xxx to start with 1.
authorMartin Mares <mj@ucw.cz>
Tue, 11 Nov 2008 08:52:43 +0000 (09:52 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 11 Nov 2008 08:52:43 +0000 (09:52 +0100)
lib/pci.h

index 52cdecb8185eb29c0c7500b38c554c2cc0b85bbe..3a8355a3f94d6d812f72039879a4027c59f8efdf 100644 (file)
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -177,8 +177,8 @@ struct pci_cap {
   unsigned int addr;                   /* Position in the config space */
 };
 
-#define PCI_CAP_NORMAL         0       /* Traditional PCI capabilities */
-#define PCI_CAP_EXTENDED       1       /* PCIe extended capabilities */
+#define PCI_CAP_NORMAL         1       /* Traditional PCI capabilities */
+#define PCI_CAP_EXTENDED       2       /* PCIe extended capabilities */
 
 struct pci_cap *pci_find_cap(struct pci_dev *, unsigned int id, unsigned int type) PCI_ABI;