Changeset View
Changeset View
Standalone View
Standalone View
sys/isa/isa_common.c
| Show First 20 Lines • Show All 903 Lines • ▼ Show 20 Lines | for (i = 0; i < nchildren; i++) { | ||||
| /* | /* | ||||
| * Free resources which we were holding on behalf of | * Free resources which we were holding on behalf of | ||||
| * the device. | * the device. | ||||
| */ | */ | ||||
| STAILQ_FOREACH(rle, &idev->id_resources, link) { | STAILQ_FOREACH(rle, &idev->id_resources, link) { | ||||
| if (rle->res) | if (rle->res) | ||||
| resource_list_release(rl, dev, child, | resource_list_release(rl, dev, child, | ||||
| rle->type, | |||||
| rle->rid, | |||||
| rle->res); | rle->res); | ||||
| } | } | ||||
| if (TAILQ_FIRST(&idev->id_configs)) | if (TAILQ_FIRST(&idev->id_configs)) | ||||
| if (!isa_assign_resources(child)) | if (!isa_assign_resources(child)) | ||||
| continue; | continue; | ||||
| device_probe_and_attach(child); | device_probe_and_attach(child); | ||||
| ▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines | |||||