PCIR_INTPIN
value = pci_cfgregread(domain, bus, device, func, PCIR_INTPIN,
PCIR_INTPIN) ||(where == PCIR_INTPIN && size == 1)) {
pci_write_config(dev, PCIR_INTPIN, dinfo->cfg.intpin, 1);
dinfo->cfg.intpin = pci_read_config(dev, PCIR_INTPIN, 1);
cfg->intpin = REG(PCIR_INTPIN, 1);
DBI_WR1(sc, PCIR_INTPIN, 1);
value = pci_cfgregread(0, bus, device, func, PCIR_INTPIN, 1);
pci_set_cfgdata8(pi, PCIR_INTPIN, 0x1);
pci_set_cfgdata8(pdi, PCIR_INTPIN, 0);
pci_set_cfgdata8(pi, PCIR_INTPIN, bestpin + 1);
intpin = pci_get_cfgdata8(pi, PCIR_INTPIN);
pci_set_cfgdata8(pi, PCIR_INTPIN, intpin);
pci_set_cfgdata8(pi, PCIR_INTPIN, 1);