PCIR_REVID
pci_write_config(dev, PCIR_REVID, dinfo->cfg.revid, 1);
dinfo->cfg.revid = pci_read_config(dev, PCIR_REVID, 1);
cfg->revid = REG(PCIR_REVID, 1);
revid = pci_read_config(dev, PCIR_REVID, 1);
pci_write_config(dev, PCIR_REVID,
uint32_t revid = pci_read_config(dev, PCIR_REVID, 4);
PCIR_REVID, 2);
sc->hw.revision_id = pci_read_config(dev, PCIR_REVID, 1);
hw->revision_id = pci_read_config(dev, PCIR_REVID, 1);
sc->sis_rev = pci_read_config(dev, PCIR_REVID, 1);
rev = pci_read_config(sc->sc_dev, PCIR_REVID, 1);
pMvSataAdapter->pciConfigRevisionId = pci_read_config(pAdapter->hpt_dev, PCIR_REVID, 1);
data->PCIDeviceHwRev = pci_read_config(sc->mpr_dev, PCIR_REVID, 1);
data->PCIDeviceHwRev = pci_read_config(sc->mps_dev, PCIR_REVID, 1);