Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/isa/isa.c
| Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | if (!passthrough && !isdefault) { | ||||
| } | } | ||||
| } | } | ||||
| return resource_list_alloc(rl, bus, child, type, rid, | return resource_list_alloc(rl, bus, child, type, rid, | ||||
| start, end, count, flags); | start, end, 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); | ||||
| } | } | ||||
| /* | /* | ||||
| * On this platform, isa can also attach to the legacy bus. | * On this platform, isa can also attach to the legacy bus. | ||||
| */ | */ | ||||
| DRIVER_MODULE(isa, legacy, isa_driver, 0, 0); | DRIVER_MODULE(isa, legacy, isa_driver, 0, 0); | ||||
| /* | /* | ||||
| * Attach the ISA bus to the xenpv bus in order to get syscons. | * Attach the ISA bus to the xenpv bus in order to get syscons. | ||||
| */ | */ | ||||
| DRIVER_MODULE(isa, xenpv, isa_driver, 0, 0); | DRIVER_MODULE(isa, xenpv, isa_driver, 0, 0); | ||||