From c3f861f4916279eaba971a48d6c3e457362aa6ed Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 20 Apr 2006 04:21:27 +0000 Subject: Set the rid for the resoruce obtained from rman_reserve_resource. --- sys/dev/acpica/acpi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 6fb2c75c76fd2..72956b93c8a08 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)); -- cgit v1.3