diff options
author | imp <imp@FreeBSD.org> | 2006-04-20 04:16:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-04-20 04:16:34 +0000 |
commit | 0e9911a7c4df3b620a19e7a374b9793e3ea534d9 (patch) | |
tree | aeeb4e3f64af1d1cb69728ab87265a64177f6830 | |
parent | d49b1fe00a3e60e11af070c72c567f0d455aa936 (diff) | |
download | FreeBSD-src-0e9911a7c4df3b620a19e7a374b9793e3ea534d9.zip FreeBSD-src-0e9911a7c4df3b620a19e7a374b9793e3ea534d9.tar.gz |
Set the rid for a resoruce allocated with rman_reserve_resource.
-rw-r--r-- | sys/amd64/amd64/nexus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c index 3d38940..f143d5e 100644 --- a/sys/amd64/amd64/nexus.c +++ b/sys/amd64/amd64/nexus.c @@ -340,7 +340,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, rv = rman_reserve_resource(rm, start, end, count, flags, child); if (rv == 0) return 0; - + rman_set_rid(rv, *rid); if (type == SYS_RES_MEMORY) { rman_set_bustag(rv, AMD64_BUS_SPACE_MEM); } else if (type == SYS_RES_IOPORT) { |