mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 08:09:08 +00:00
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
This commit is contained in:
parent
255717e065
commit
0e7e521cf3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53585
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user