X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fpci.h;h=458be233e4ac5083107d3ed3a3ecd692fecae2d1;hb=12f34241cb9679c27a1ab3561766562f5a515eff;hp=e5055b175340a26a1393f267d37740b197deeb44;hpb=c7de829c796978e519984df2f1c8cfcf921a39a4;p=u-boot diff --git a/include/pci.h b/include/pci.h index e5055b1753..458be233e4 100644 --- a/include/pci.h +++ b/include/pci.h @@ -462,6 +462,8 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev); extern pci_dev_t pci_find_device (unsigned int vendor, unsigned int device, int index); extern pci_dev_t pci_find_devices (struct pci_device_id *ids, int index); +extern pci_dev_t pci_find_class(int wanted_class, int wanted_sub_code, + int wanted_prog_if, int index); extern int pci_hose_config_device(struct pci_controller *hose, pci_dev_t dev,