Locating a PCI Device

First initialize vendor ID, device ID and index in the structure PCIDEV. On success, PCIFindDevice returns the values from the PCI device header in the PCIDEV structure.
 
When a system designer decides to sparsely-populate the PCI structure on a given board, resulting in bus IDs with high numbers, the PCI scan can take a very long time because of having to scan many empty buses. Systems with an HP BIOS are an example.