summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/pci/pci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h
index ee79d45db7..da6d026782 100644
--- a/payloads/libpayload/include/pci/pci.h
+++ b/payloads/libpayload/include/pci/pci.h
@@ -88,7 +88,14 @@ struct pci_filter {
struct pci_dev *devices;
};
+enum pci_access_type { /* dummy for code compatibility */
+ PCI_ACCESS_AUTO,
+ PCI_ACCESS_I386_TYPE1,
+ PCI_ACCESS_MAX
+};
+
struct pci_access {
+ unsigned int method; /* dummy for code compatibility */
struct pci_dev *devices;
};
@@ -108,5 +115,6 @@ int pci_filter_match(struct pci_filter*, struct pci_dev*);
void pci_filter_init(struct pci_access*, struct pci_filter*);
void pci_scan_bus(struct pci_access*);
struct pci_dev *pci_get_dev(struct pci_access*, u16, u8, u8, u8);
+void pci_free_dev(struct pci_dev *);
#endif