Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/mpc85xx/isa.c
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | if (!passthrough && !isdefault && | ||||
| resource_list_add(rl, type, *rid, start, end, count); | resource_list_add(rl, type, *rid, start, end, count); | ||||
| } | } | ||||
| return (resource_list_alloc(rl, bus, child, type, rid, start, end, | return (resource_list_alloc(rl, bus, child, type, rid, start, end, | ||||
| count, flags)); | count, flags)); | ||||
| } | } | ||||
| int | int | ||||
| isa_release_resource(device_t bus, device_t child, int type, int rid, | isa_release_resource(device_t bus, device_t child, struct resource *r) | ||||
| struct resource *r) | |||||
| { | { | ||||
| 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; | ||||
| return (resource_list_release(rl, bus, child, type, rid, r)); | return (resource_list_release(rl, bus, child, r)); | ||||
| } | } | ||||