diff options
Diffstat (limited to 'include/programmer.h')
-rw-r--r-- | include/programmer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/programmer.h b/include/programmer.h index 9728d8d3..d8d8b4a2 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -125,6 +125,7 @@ int pci_init_common(void); uintptr_t pcidev_readbar(struct pci_dev *dev, int bar); struct pci_dev *pcidev_init(const struct programmer_cfg *cfg, const struct dev_entry *devs, int bar); struct pci_dev *pcidev_scandev(struct pci_filter *filter, struct pci_dev *start); +struct pci_dev *pcidev_getdevfn(struct pci_dev *dev, const int func); struct pci_dev *pcidev_find_vendorclass(uint16_t vendor, uint16_t devclass); struct pci_dev *pcidev_card_find(uint16_t vendor, uint16_t device, uint16_t card_vendor, uint16_t card_device); struct pci_dev *pcidev_find(uint16_t vendor, uint16_t device); |