Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sparc64/isa/isa.c
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | if (strcmp(name, "dma") == 0) | ||||
isa_setup_children(dev, node); | isa_setup_children(dev, node); | ||||
free(name, M_OFWPROP); | free(name, M_OFWPROP); | ||||
} | } | ||||
} | } | ||||
struct resource * | struct resource * | ||||
isa_alloc_resource(device_t bus, device_t child, int type, int *rid, | isa_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) | ||||
{ | { | ||||
/* | /* | ||||
* Consider adding a resource definition. | * Consider adding a resource definition. | ||||
*/ | */ | ||||
int passthrough = (device_get_parent(child) != bus); | int passthrough = (device_get_parent(child) != bus); | ||||
int isdefault = (start == 0UL && end == ~0UL); | int isdefault = (start == 0UL && end == ~0UL); | ||||
struct resource_list *rl; | struct resource_list *rl; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |