PCIR_BAR
sc->chip_mem1_rid = PCIR_BAR(1);
sc->chip_mem2_rid = PCIR_BAR(2);
sc->chip_mem1_rid = PCIR_BAR(0);
sc->chip_mem2_rid = PCIR_BAR(1);
#define BWI_PCIR_BAR PCIR_BAR(0)
val = pci_conf_read(pa->pa_pc, pa->pa_tag, PCIR_BAR(0));
if (pci_mapreg_map(pa, PCIR_BAR(0), PCI_MAPREG_MEM_TYPE(val), 0,