Changeset View
Changeset View
Standalone View
Standalone View
sys/sparc64/central/central.c
Context not available. | |||||
static int | static int | ||||
central_adjust_resource(device_t bus __unused, device_t child __unused, | central_adjust_resource(device_t bus __unused, device_t child __unused, | ||||
int type __unused, struct resource *r __unused, u_long start __unused, | int type __unused, struct resource *r __unused, rman_res_t start __unused, | ||||
u_long end __unused) | rman_res_t end __unused) | ||||
{ | { | ||||
return (ENXIO); | return (ENXIO); | ||||
Context not available. | |||||
static struct resource * | static struct resource * | ||||
central_alloc_resource(device_t bus, device_t child, int type, int *rid, | central_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_list *rl; | struct resource_list *rl; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
Context not available. | |||||
int passthrough; | int passthrough; | ||||
int i; | int i; | ||||
isdefault = (start == 0UL && end == ~0UL); | isdefault = (start == 0 && end == ~0); | ||||
passthrough = (device_get_parent(child) != bus); | passthrough = (device_get_parent(child) != bus); | ||||
res = NULL; | res = NULL; | ||||
rle = NULL; | rle = NULL; | ||||
Context not available. |