From c0e6c73704f39e916c12ce6fce530bfa50987ed0 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 28 Jun 2004 03:36:37 +0000 Subject: rman_reserve_resource doesn't set the bushandle, so we have to do it here. Badness noted by: njl Perforce reply not read by: imp --- sys/dev/acpica/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/acpica') diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 286d870..93bed57 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -893,7 +893,7 @@ acpi_alloc_resource(device_t bus, device_t child, int type, int *rid, /* Copy the bus tag and handle from the pre-allocated resource. */ rman_set_bustag(res, rman_get_bustag(rle->res)); - rman_set_bushandle(res, rman_get_bushandle(res)); + rman_set_bushandle(res, rman_get_start(res)); /* If requested, activate the resource using the parent's method. */ if (flags & RF_ACTIVE) -- cgit v1.1