Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/sibyte/sb_zbbus.c
Context not available. | |||||
static struct resource * | static struct resource * | ||||
zbbus_alloc_resource(device_t bus, device_t child, int type, int *rid, | zbbus_alloc_resource(device_t bus, 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) | ||||
{ | { | ||||
struct resource *res; | struct resource *res; | ||||
int intrnum, intsrc, isdefault; | int intrnum, intsrc, isdefault; | ||||
Context not available. | |||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
struct zbbus_devinfo *dinfo; | struct zbbus_devinfo *dinfo; | ||||
isdefault = (start == 0UL && end == ~0UL && count == 1); | isdefault = (start == 0 && end == ~0 && count == 1); | ||||
/* | /* | ||||
* Our direct child is asking for a default resource allocation. | * Our direct child is asking for a default resource allocation. | ||||
Context not available. |