MY_RES
sc->my_res = bus_alloc_resource_any(dev, MY_RES, &rid, RF_ACTIVE);
bus_release_resource(dev, MY_RES, MY_RID, sc->my_res);