PCIR_PROGIF
progif = pci_read_config(dev, PCIR_PROGIF, 1);
pci_write_config(dev, PCIR_PROGIF, progif | 0x05, 1);
progif = pci_read_config(dev, PCIR_PROGIF, 1);
pci_write_config(dev, PCIR_PROGIF, dinfo->cfg.progif, 1);
dinfo->cfg.progif = pci_read_config(dev, PCIR_PROGIF, 1);
cfg->progif = REG(PCIR_PROGIF, 1);
pci_read_config(dev, PCIR_PROGIF, 1) == PCIP_BRIDGE_PCI_SUBTRACTIVE)
u_int8_t progif = pci_read_config(dev, PCIR_PROGIF, 1);
return (((pci_read_config(dev, PCIR_PROGIF, 1)&PCIP_STORAGE_IDE_MASTERDEV)&&
((pci_read_config(dev, PCIR_PROGIF, 1) &
if (pci_read_config(dev, PCIR_PROGIF, 1) != PCIP_STORAGE_SATA_AHCI_1_0)
(pci_read_config(dev, PCIR_PROGIF, 1) == PCIP_STORAGE_SATA_AHCI_1_0)) {
uint8_t progif = pci_read_config(dev, PCIR_PROGIF, 1);
u_int8_t progif = pci_read_config(dev, PCIR_PROGIF, 1);