diff options
author | imp <imp@FreeBSD.org> | 2006-04-20 04:16:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-04-20 04:16:02 +0000 |
commit | d49b1fe00a3e60e11af070c72c567f0d455aa936 (patch) | |
tree | 13d11f651260cfa1e981e2dfc7cb3839d56da75b /sys/alpha/isa | |
parent | 09e17e600a13fabcd3d635b0147237e34c7bc0b3 (diff) | |
download | FreeBSD-src-d49b1fe00a3e60e11af070c72c567f0d455aa936.zip FreeBSD-src-d49b1fe00a3e60e11af070c72c567f0d455aa936.tar.gz |
Set the rid for any resources that are allocated at the level where
they first emerge from the rman_* system.
Diffstat (limited to 'sys/alpha/isa')
-rw-r--r-- | sys/alpha/isa/isa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/isa/isa.c b/sys/alpha/isa/isa.c index 263b6bb..e262bab 100644 --- a/sys/alpha/isa/isa.c +++ b/sys/alpha/isa/isa.c @@ -231,6 +231,7 @@ isa_alloc_resource(device_t bus, device_t child, int type, int *rid, res = rman_reserve_resource(&isa_drq_rman, start, start, 1, 0, child); + rman_set_rid(res, *rid); if (res && !passthrough) { rle = resource_list_find(rl, type, *rid); rle->start = rman_get_start(res); |