pci_find_cap() is correct in head.  jhb@