From c66444c488172bdba9e7c233abae45f0a8efe753 Mon Sep 17 00:00:00 2001 From: mdodd Date: Tue, 25 Mar 2003 04:34:33 +0000 Subject: Correct an argument to bus_alloc_resource(). --- sys/isa/orm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/isa') diff --git a/sys/isa/orm.c b/sys/isa/orm.c index 7c0dfc5..6ae67c2 100644 --- a/sys/isa/orm.c +++ b/sys/isa/orm.c @@ -101,7 +101,7 @@ orm_identify(driver_t* driver, device_t parent) IOMEM_STEP); rid = sc->rnum; res = bus_alloc_resource(child, SYS_RES_MEMORY, &rid, 0ul, - ~0ul, IOMEM_STEP, RF_ACTIVE); + ~0ul, 1, RF_ACTIVE); if (res == NULL) { bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); chunk += IOMEM_STEP; @@ -133,7 +133,7 @@ orm_identify(driver_t* driver, device_t parent) rom_size); rid = sc->rnum; res = bus_alloc_resource(child, SYS_RES_MEMORY, &rid, 0ul, - ~0ul, rom_size, 0); + ~0ul, 1, 0); if (res == NULL) { bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); chunk += IOMEM_STEP; -- cgit v1.1