From: Martin Mares Date: Tue, 11 Nov 2008 08:52:43 +0000 (+0100) Subject: Renumbered PCI_CAP_xxx to start with 1. X-Git-Tag: v3.1-alpha1~10 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7831d7f95990c5573909cd4406f77e9709e68ba5;p=pciutils.git Renumbered PCI_CAP_xxx to start with 1. --- diff --git a/lib/pci.h b/lib/pci.h index 52cdecb..3a8355a 100644 --- 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;