xilinx_axienet: changed device name
Changed device name to xlnx,axi-ethernet. 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
ab034c26de
commit
cec6f8ca5b
@ -54,9 +54,9 @@ xilinx_axiethernet_create(void *dmach,
|
|||||||
int txmem, int rxmem)
|
int txmem, int rxmem)
|
||||||
{
|
{
|
||||||
DeviceState *dev;
|
DeviceState *dev;
|
||||||
qemu_check_nic_model(nd, "xilinx-axienet");
|
qemu_check_nic_model(nd, "xlnx.axi-ethernet");
|
||||||
|
|
||||||
dev = qdev_create(NULL, "xilinx,axienet");
|
dev = qdev_create(NULL, "xlnx.axi-ethernet");
|
||||||
qdev_set_nic_properties(dev, nd);
|
qdev_set_nic_properties(dev, nd);
|
||||||
qdev_prop_set_uint32(dev, "rxmem", rxmem);
|
qdev_prop_set_uint32(dev, "rxmem", rxmem);
|
||||||
qdev_prop_set_uint32(dev, "txmem", txmem);
|
qdev_prop_set_uint32(dev, "txmem", txmem);
|
||||||
|
@ -889,7 +889,7 @@ static void xilinx_enet_class_init(ObjectClass *klass, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static TypeInfo xilinx_enet_info = {
|
static TypeInfo xilinx_enet_info = {
|
||||||
.name = "xilinx,axienet",
|
.name = "xlnx.axi-ethernet",
|
||||||
.parent = TYPE_SYS_BUS_DEVICE,
|
.parent = TYPE_SYS_BUS_DEVICE,
|
||||||
.instance_size = sizeof(struct XilinxAXIEnet),
|
.instance_size = sizeof(struct XilinxAXIEnet),
|
||||||
.class_init = xilinx_enet_class_init,
|
.class_init = xilinx_enet_class_init,
|
||||||
|
Loading…
Reference in New Issue
Block a user