Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/siba/siba_bwn.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
DEVICE_RESUME(devlistp[i]); | DEVICE_RESUME(devlistp[i]); | ||||
free(devlistp, M_TEMP); | free(devlistp, M_TEMP); | ||||
return (0); | return (0); | ||||
} | } | ||||
/* proxying to the parent */ | /* proxying to the parent */ | ||||
static struct resource * | static struct resource * | ||||
siba_bwn_alloc_resource(device_t dev, device_t child, int type, int *rid, | siba_bwn_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev, | return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev, | ||||
type, rid, start, end, count, flags)); | type, rid, start, end, count, flags)); | ||||
} | } | ||||
/* proxying to the parent */ | /* proxying to the parent */ | ||||
static int | static int | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |