Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/isa/isa.c
Context not available. | |||||
*/ | */ | ||||
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 == 0 && end == ~0); | ||||
struct isa_device* idev = DEVTOISA(child); | struct isa_device* idev = DEVTOISA(child); | ||||
struct resource_list *rl = &idev->id_resources; | struct resource_list *rl = &idev->id_resources; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
Context not available. |