PCI_CONFADD
if (kmt_iowrite(mdb.m_target, &addr, sizeof (addr), PCI_CONFADD) !=
outl(PCI_CONFADD, OPT_PCI_ECS_ADDR(bus, dev,
outl(PCI_CONFADD, OPT_PCI_ECS_ADDR(bus, dev,
outl(PCI_CONFADD, PCI_CADDR1(0, dev, OPT_PCS_FUNC_DRAM,
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
outl(PCI_CONFADD, PCI_CADDR1(0, 0, 0, PCI_CONF_VENID));
outl(PCI_CONFADD, tmp);
outl(PCI_CONFADD, PCI_CADDR1(0, 0, 0, 0));
tmp = inl(PCI_CONFADD);