xilinx_ethlite: changed device name
Changed device name to xlnx,xps-ethernetlite. 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
b2d85c3492
commit
7f4d67552e
@ -36,9 +36,9 @@ xilinx_ethlite_create(NICInfo *nd, target_phys_addr_t base, qemu_irq irq,
|
||||
{
|
||||
DeviceState *dev;
|
||||
|
||||
qemu_check_nic_model(nd, "xilinx-ethlite");
|
||||
qemu_check_nic_model(nd, "xlnx.xps-ethernetlite");
|
||||
|
||||
dev = qdev_create(NULL, "xilinx,ethlite");
|
||||
dev = qdev_create(NULL, "xlnx.xps-ethernetlite");
|
||||
qdev_set_nic_properties(dev, nd);
|
||||
qdev_prop_set_uint32(dev, "tx-ping-pong", txpingpong);
|
||||
qdev_prop_set_uint32(dev, "rx-ping-pong", rxpingpong);
|
||||
|
@ -216,7 +216,8 @@ static int xilinx_ethlite_init(SysBusDevice *dev)
|
||||
sysbus_init_irq(dev, &s->irq);
|
||||
s->rxbuf = 0;
|
||||
|
||||
memory_region_init_io(&s->mmio, ð_ops, s, "xilinx-ethlite", R_MAX * 4);
|
||||
memory_region_init_io(&s->mmio, ð_ops, s, "xlnx.xps-ethernetlite",
|
||||
R_MAX * 4);
|
||||
sysbus_init_mmio(dev, &s->mmio);
|
||||
|
||||
qemu_macaddr_default_if_unset(&s->conf.macaddr);
|
||||
@ -243,7 +244,7 @@ static void xilinx_ethlite_class_init(ObjectClass *klass, void *data)
|
||||
}
|
||||
|
||||
static TypeInfo xilinx_ethlite_info = {
|
||||
.name = "xilinx,ethlite",
|
||||
.name = "xlnx.xps-ethernetlite",
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(struct xlx_ethlite),
|
||||
.class_init = xilinx_ethlite_class_init,
|
||||
|
Loading…
Reference in New Issue
Block a user