diff options
author | Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> | 2012-09-17 14:06:32 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-09-19 18:48:08 +0200 |
commit | c9b6e1f6bbc93cd1a43dbde625077dde5806c7d7 (patch) | |
tree | 8afee1fe43e269fc1cbfd78d539ec94fc8cad07d /hw | |
parent | 4b5e52101f9ad077d1c016f2b7130e2fdae6d2da (diff) |
xilinx: fix names of ethernet and dma links.
These names were incorrect. Fixed to match to actual link names
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xilinx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h index 4d29265b9a..98300477ab 100644 --- a/hw/xilinx.h +++ b/hw/xilinx.h @@ -63,7 +63,8 @@ xilinx_axiethernet_create(NICInfo *nd, StreamSlave *peer, qdev_set_nic_properties(dev, nd); qdev_prop_set_uint32(dev, "rxmem", rxmem); qdev_prop_set_uint32(dev, "txmem", txmem); - object_property_set_link(OBJECT(dev), OBJECT(peer), "tx_dev", &errp); + object_property_set_link(OBJECT(dev), OBJECT(peer), "axistream-connected", + &errp); assert_no_error(errp); qdev_init_nofail(dev); sysbus_mmio_map(sysbus_from_qdev(dev), 0, base); @@ -80,7 +81,8 @@ xilinx_axiethernetdma_init(DeviceState *dev, StreamSlave *peer, Error *errp = NULL; qdev_prop_set_uint32(dev, "freqhz", freqhz); - object_property_set_link(OBJECT(dev), OBJECT(peer), "tx_dev", &errp); + object_property_set_link(OBJECT(dev), OBJECT(peer), "axistream-connected", + &errp); assert_no_error(errp); qdev_init_nofail(dev); |