diff --git a/sys/isa/isahint.c b/sys/isa/isahint.c index f02864f830f7..5a02ccf00b1b 100644 --- a/sys/isa/isahint.c +++ b/sys/isa/isahint.c @@ -70,7 +70,7 @@ isahint_add_device(device_t parent, const char *name, int unit) if (resource_int_value(name, unit, "irq", &start) == 0 && start > 0) bus_set_resource(child, SYS_RES_IRQ, 0, start, 1); - if (resource_int_value(name, unit, "drq", &start) == 0 && start > 0) + if (resource_int_value(name, unit, "drq", &start) == 0 && start >= 0) bus_set_resource(child, SYS_RES_DRQ, 0, start, 1); if (resource_int_value(name, unit, "flags", &t) == 0)