Set the rid for the resoruce obtained from rman_reserve_resource.
This commit is contained in:
parent
2f443d2d8f
commit
c3f861f491
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user