@@ -145,6 +145,9 @@ struct pci_dev {
pciaddr_t bridge_base_addr[4]; /* Bridge base addresses (without flags) */
pciaddr_t bridge_size[4]; /* Bridge sizes */
pciaddr_t bridge_flags[4]; /* PCI_IORESOURCE_* flags for bridge addresses */
+ u8 prog_if; /* Programming interface for device_class */
+ u8 rev_id; /* Revision id */
+ u16 subsys_vendor_id, subsys_id; /* Subsystem vendor id and subsystem id */
/* Fields used internally */
struct pci_access *access;
@@ -210,6 +213,9 @@ char *pci_get_string_property(struct pci_dev *d, u32 prop) PCI_ABI;
#define PCI_FILL_IOMMU_GROUP 0x4000
#define PCI_FILL_BRIDGE_BASES 0x8000
#define PCI_FILL_RESCAN 0x00010000
+#define PCI_FILL_PROGIF 0x00020000
+#define PCI_FILL_REVID 0x00040000
+#define PCI_FILL_SUBSYS 0x00080000
void pci_setup_cache(struct pci_dev *, u8 *cache, int len) PCI_ABI;