summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/psim/openpic_iobus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/psim/openpic_iobus.c')
-rw-r--r--sys/powerpc/psim/openpic_iobus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/psim/openpic_iobus.c b/sys/powerpc/psim/openpic_iobus.c
index 5bbeb14..5fd524d 100644
--- a/sys/powerpc/psim/openpic_iobus.c
+++ b/sys/powerpc/psim/openpic_iobus.c
@@ -200,7 +200,7 @@ openpic_iobus_attach(device_t dev)
KASSERT(sc != NULL, ("pic not nexus-probed\n"));
rid = 0;
- sc->sc_memr = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1,
+ sc->sc_memr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE);
if (sc->sc_memr == NULL) {
OpenPOWER on IntegriCloud