Home
last modified time | relevance | path

Searched refs:fxp_spec (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxpvar.h184 struct resource_spec *fxp_spec; /* the resource spec we used */ member
H A Dif_fxp.c466 sc->fxp_spec = fxp_res_spec_io; in fxp_attach()
468 sc->fxp_spec = fxp_res_spec_mem; in fxp_attach()
470 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); in fxp_attach()
472 if (sc->fxp_spec == fxp_res_spec_mem) in fxp_attach()
473 sc->fxp_spec = fxp_res_spec_io; in fxp_attach()
475 sc->fxp_spec = fxp_res_spec_mem; in fxp_attach()
476 error = bus_alloc_resources(dev, sc->fxp_spec, sc->fxp_res); in fxp_attach()
486 sc->fxp_spec == fxp_res_spec_mem ? "memory" : "I/O"); in fxp_attach()
958 bus_release_resources(sc->dev, sc->fxp_spec, sc->fxp_res); in fxp_release()