diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:34:33 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:34:33 +0000 |
commit | c66444c488172bdba9e7c233abae45f0a8efe753 (patch) | |
tree | 11c68c75203804d4e30cf5d9f4334ad6ec2ce89c /sys/isa/orm.c | |
parent | fe36e1c8471f74482dc7a33db891daa0327c8c95 (diff) | |
download | FreeBSD-src-c66444c488172bdba9e7c233abae45f0a8efe753.zip FreeBSD-src-c66444c488172bdba9e7c233abae45f0a8efe753.tar.gz |
Correct an argument to bus_alloc_resource().
Diffstat (limited to 'sys/isa/orm.c')
-rw-r--r-- | sys/isa/orm.c | 4 |
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; |