mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
24739ab4bb
commit
b2d85c3492
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue