Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/stg/tmc18c30_subr.c
Context not available. | |||||
stg_alloc_resource(device_t dev) | stg_alloc_resource(device_t dev) | ||||
{ | { | ||||
struct stg_softc * sc = device_get_softc(dev); | struct stg_softc * sc = device_get_softc(dev); | ||||
u_long maddr, msize; | rman_res_t maddr, msize; | ||||
int error; | int error; | ||||
mtx_init(&sc->sc_sclow.sl_lock, "stg", NULL, MTX_DEF); | mtx_init(&sc->sc_sclow.sl_lock, "stg", NULL, MTX_DEF); | ||||
Context not available. |