pci_config_read_reg
vendor = pci_config_read_reg(selp, nvl, PCIR_VENDOR, 2, LPC_VENDOR);
device = pci_config_read_reg(selp, nvl, PCIR_DEVICE, 2, LPC_DEV);
revid = pci_config_read_reg(selp, nvl, PCIR_REVID, 1, LPC_REVID);
subvendor = pci_config_read_reg(selp, nvl, PCIR_SUBVEND_0, 2,
subdevice = pci_config_read_reg(selp, nvl, PCIR_SUBDEV_0, 2,
uint32_t pci_config_read_reg(const struct pcisel *host_sel, nvlist_t *nvl,
vendor = pci_config_read_reg(NULL, nvl, PCIR_VENDOR, 2, vendor);
device = pci_config_read_reg(NULL, nvl, PCIR_DEVICE, 2, device);