diff options
Diffstat (limited to 'sys/powerpc/powermac/uninorth.c')
-rw-r--r-- | sys/powerpc/powermac/uninorth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/powerpc/powermac/uninorth.c b/sys/powerpc/powermac/uninorth.c index 3510983..12bd377 100644 --- a/sys/powerpc/powermac/uninorth.c +++ b/sys/powerpc/powermac/uninorth.c @@ -382,8 +382,6 @@ uninorth_alloc_resource(device_t bus, device_t child, int type, int *rid, } rman_set_rid(rv, *rid); - rman_set_bustag(rv, &bs_le_tag); - rman_set_bushandle(rv, rman_get_start(rv)); if (needactivate) { if (bus_activate_resource(child, type, *rid, rv) != 0) { @@ -429,6 +427,7 @@ uninorth_activate_resource(device_t bus, device_t child, int type, int rid, if (p == NULL) return (ENOMEM); rman_set_virtual(res, p); + rman_set_bustag(rv, &bs_le_tag); rman_set_bushandle(res, (u_long)p); } |