summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/acpica/acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 6fb2c75..72956b9 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));
OpenPOWER on IntegriCloud