ET_PCIR_BAR
mem = pci_read_config(dev, ET_PCIR_BAR, 4);
pci_write_config(dev, ET_PCIR_BAR, mem, 4);
sc->sc_mem_rid = ET_PCIR_BAR;