aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx.h
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-06-13 14:46:49 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-06-15 13:08:13 +0200
commitcec6f8ca5b22562ee757e2a55c21f7fa20d5200a (patch)
treee3800e9346c593a4749e49bff3ccabc1ed9d4092 /hw/xilinx.h
parentab034c26deb381ee8f032ed0543847d5a78a4c39 (diff)
downloadqemu-cec6f8ca5b22562ee757e2a55c21f7fa20d5200a.zip
qemu-cec6f8ca5b22562ee757e2a55c21f7fa20d5200a.tar.gz
qemu-cec6f8ca5b22562ee757e2a55c21f7fa20d5200a.tar.bz2
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>
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r--hw/xilinx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h
index 91be0b3..8f915b4 100644
--- a/hw/xilinx.h
+++ b/hw/xilinx.h
@@ -54,9 +54,9 @@ xilinx_axiethernet_create(void *dmach,
int txmem, int rxmem)
{
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_prop_set_uint32(dev, "rxmem", rxmem);
qdev_prop_set_uint32(dev, "txmem", txmem);