From: Martin Mares Date: Mon, 10 Nov 2008 23:08:49 +0000 (+0100) Subject: Moved the new field at the end of struct pci_dev to keep the ABI. X-Git-Tag: v3.1-alpha1~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=98304b6779e578f4a82122e71bdb7fdae65286ff;p=pciutils.git Moved the new field at the end of struct pci_dev to keep the ABI. --- diff --git a/lib/pci.h b/lib/pci.h index 7d79424..52cdecb 100644 --- a/lib/pci.h +++ b/lib/pci.h @@ -127,7 +127,6 @@ struct pci_dev { pciaddr_t size[6]; /* Region sizes */ pciaddr_t rom_base_addr; /* Expansion ROM base address */ pciaddr_t rom_size; /* Expansion ROM size */ - struct pci_cap *first_cap; /* List of capabilities */ /* Fields used internally: */ struct pci_access *access; @@ -136,6 +135,9 @@ struct pci_dev { int cache_len; int hdrtype; /* Cached low 7 bits of header type, -1 if unknown */ void *aux; /* Auxillary data */ + + /* Another field set by pci_fill_info() */ + struct pci_cap *first_cap; /* List of capabilities */ }; #define PCI_ADDR_IO_MASK (~(pciaddr_t) 0x3)