FreeBSD/sys/dev/bhnd/bhndb/bhndb.c
/**
 * Default bhndb(4) implementation of BUS_ACTIVATE_RESOURCE().
 *
 * Maps resource activation requests to a viable static or dynamic
 * register window, if any.
 */
Default bhndb(4) implementation of BUS_ACTIVATE_RESOURCE().
Maps resource activation requests to a viable static or dynamic
register window, if any.
Default bhndb ( 4 ) implementation of BUS_ACTIVATE_RESOURCE () . Maps resource activation requests to a viable static or dynamic register window if any .
static int
bhndb_activate_resource(device_t dev, device_t child, int type, int rid,
    struct resource *r)
{
	struct bhndb_softc *sc = device_get_softc(dev);
	return (bhndb_try_activate_resource(sc, child, type, rid, r, NULL));
}
static int bhndb_activate_resource ( device_t dev , device_t child , int type , int rid , struct resource * r ) { struct bhndb_softc * sc = device_get_softc ( dev ) ; return ( bhndb_try_activate_resource ( sc , child , type , rid , r , NULL ) ) ; }
Default bhndb(4) implementation of BUS_ACTIVATE_RESOURCE().
Default bhndb ( 4 ) implementation of BUS_ACTIVATE_RESOURCE () .