From 7831d7f95990c5573909cd4406f77e9709e68ba5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 11 Nov 2008 09:52:43 +0100 Subject: [PATCH] Renumbered PCI_CAP_xxx to start with 1. --- lib/pci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2