Searched refs:emac_res (Results 1 – 1 of 1) sorted by relevance
92 struct resource *emac_res; member822 if (sc->emac_res != NULL) in emac_detach()823 bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->emac_res); in emac_detach()897 sc->emac_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in emac_attach()899 if (sc->emac_res == NULL) { in emac_attach()905 sc->emac_tag = rman_get_bustag(sc->emac_res); in emac_attach()906 sc->emac_handle = rman_get_bushandle(sc->emac_res); in emac_attach()