XLNX_PCIE_IMR
mask = bus_read_4(sc->res, XLNX_PCIE_IMR);
bus_write_4(sc->res[0], XLNX_PCIE_IMR, 0);
bus_write_4(sc->res[0], XLNX_PCIE_IMR, reg);