summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/isa/orm.c4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud