From 0e7e521cf3e4bbadaba4a1efdbc98102010fd051 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Mon, 22 Nov 1999 14:30:41 +0000 Subject: [PATCH] Allow a DMA channel of 0. This gets the on-board mss audio device working on Digital AlphaStations 200 and 500 machines (and probably others as well). Submitted by: dfr --- sys/isa/isahint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)