This commit is contained in:
Jasmine Iwanek
2022-03-13 09:15:11 -04:00
parent c5d1a7b456
commit 66a687d68d
10 changed files with 411 additions and 342 deletions

View File

@@ -184,18 +184,16 @@ ddma_init(const device_t *info)
return dev;
}
const device_t ddma_device =
{
"Distributed DMA",
"ddma",
DEVICE_PCI,
0,
ddma_init,
ddma_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
const device_t ddma_device = {
.name = "Distributed DMA",
.internal_name = "ddma",
.flags = DEVICE_PCI,
.local = 0,
.init = ddma_init,
.close = ddma_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};