diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 6fb2c75c76fd..72956b93c8a0 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1015,6 +1015,7 @@ acpi_alloc_resource(device_t bus, device_t child, int type, int *rid, goto out; /* Copy the bus tag and handle from the pre-allocated resource. */ + rman_set_rid(res, *rid); rman_set_bustag(res, rman_get_bustag(rle->res)); rman_set_bushandle(res, rman_get_start(res));