diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index 2adf2ff6487f..c528b7b38b2b 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -141,7 +141,7 @@ isa_find_memory(device_t child, start, size); res[i] = bus_alloc_resource(child, SYS_RES_MEMORY, &i, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, 0 /* !RF_ACTIVE */); if (res[i]) { result->ic_mem[i].ir_start = start; result->ic_mem[i].ir_end = start + size - 1; @@ -205,7 +205,7 @@ isa_find_port(device_t child, start, size); res[i] = bus_alloc_resource(child, SYS_RES_IOPORT, &i, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, 0 /* !RF_ACTIVE */); if (res[i]) { result->ic_port[i].ir_start = start; result->ic_port[i].ir_end = start + size - 1; @@ -290,7 +290,7 @@ isa_find_irq(device_t child, irq, 1); res[i] = bus_alloc_resource(child, SYS_RES_IRQ, &i, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, 0 /* !RF_ACTIVE */ ); if (res[i]) { result->ic_irqmask[i] = (1 << irq); break; @@ -349,7 +349,7 @@ isa_find_drq(device_t child, drq, 1); res[i] = bus_alloc_resource(child, SYS_RES_DRQ, &i, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, 0 /* !RF_ACTIVE */); if (res[i]) { result->ic_drqmask[i] = (1 << drq); break; @@ -826,7 +826,7 @@ isa_driver_added(device_t dev, driver_t *driver) rle->type, &rid, 0, ~0, 1, - RF_ACTIVE); + 0 /* !RF_ACTIVE */); } } }