aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx.h
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-06-13 14:46:46 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-06-15 13:08:13 +0200
commitb2d85c3492dc8ec930976b6ead3c573d343b34a5 (patch)
tree1b22b575d5b2cf6348b842b308dea943971e9348 /hw/xilinx.h
parent24739ab4bb0179cdb007b411f881f5f340bf5f53 (diff)
downloadqemu-b2d85c3492dc8ec930976b6ead3c573d343b34a5.zip
qemu-b2d85c3492dc8ec930976b6ead3c573d343b34a5.tar.gz
qemu-b2d85c3492dc8ec930976b6ead3c573d343b34a5.tar.bz2
xilinx_ethlite: tweaked naming of ping-pong props
Changed "txpingpong" prop to "tx-ping-pong". Same for rx. This is done to make the property name exactly match what is output by the xilinx tools for this IP. 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 dc6599c..d814cb7 100644
--- a/hw/xilinx.h
+++ b/hw/xilinx.h
@@ -40,8 +40,8 @@ xilinx_ethlite_create(NICInfo *nd, target_phys_addr_t base, qemu_irq irq,
dev = qdev_create(NULL, "xilinx,ethlite");
qdev_set_nic_properties(dev, nd);
- qdev_prop_set_uint32(dev, "txpingpong", txpingpong);
- qdev_prop_set_uint32(dev, "rxpingpong", rxpingpong);
+ qdev_prop_set_uint32(dev, "tx-ping-pong", txpingpong);
+ qdev_prop_set_uint32(dev, "rx-ping-pong", rxpingpong);
qdev_init_nofail(dev);
sysbus_mmio_map(sysbus_from_qdev(dev), 0, base);
sysbus_connect_irq(sysbus_from_qdev(dev), 0, irq);