mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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
This commit is contained in:
parent
f465e257e2
commit
ed67d9de40
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131221
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user