pci_host_read_config
if (pci_host_read_config(sel, PCIR_HDRTYPE, 1) & PCIM_MFDEV)
if (pci_host_read_config(sel, PCIR_CLASS, 1) ==
pci_host_read_config(sel, PCIR_SUBCLASS, 1) ==
return pci_host_read_config(host_sel, reg, size);
uint32_t pci_host_read_config(const struct pcisel *sel, long reg, int width);