mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
xilinx_axidma: changed device name
Changed device name to xlnx,axi-dma. This is the exact name of the device in the Xilinx EDK development tools. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
cec6f8ca5b
commit
da9fa17ee9
@ -75,7 +75,7 @@ xilinx_axiethernetdma_create(void *dmach,
|
||||
{
|
||||
DeviceState *dev = NULL;
|
||||
|
||||
dev = qdev_create(NULL, "xilinx,axidma");
|
||||
dev = qdev_create(NULL, "xlnx.axi-dma");
|
||||
qdev_prop_set_uint32(dev, "freqhz", freqhz);
|
||||
qdev_prop_set_ptr(dev, "dmach", dmach);
|
||||
qdev_init_nofail(dev);
|
||||
|
@ -473,7 +473,7 @@ static int xilinx_axidma_init(SysBusDevice *dev)
|
||||
xlx_dma_connect_dma(s->dmach, s, axidma_push);
|
||||
|
||||
memory_region_init_io(&s->iomem, &axidma_ops, s,
|
||||
"axidma", R_MAX * 4 * 2);
|
||||
"xlnx.axi-dma", R_MAX * 4 * 2);
|
||||
sysbus_init_mmio(dev, &s->iomem);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
@ -502,7 +502,7 @@ static void axidma_class_init(ObjectClass *klass, void *data)
|
||||
}
|
||||
|
||||
static TypeInfo axidma_info = {
|
||||
.name = "xilinx,axidma",
|
||||
.name = "xlnx.axi-dma",
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(struct XilinxAXIDMA),
|
||||
.class_init = axidma_class_init,
|
||||
|
Loading…
Reference in New Issue
Block a user