aboutsummaryrefslogtreecommitdiffstats
path: root/hw/xilinx.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-21 15:25:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:41 -0500
commit17d1ae3cec597ac4642d504648203e3caef0fe45 (patch)
tree992d9523ddf6e902e90f14aa5c18a507f5bc245d /hw/xilinx.h
parent501321566f7dd767ff3479416c615ce5e6fd54c6 (diff)
xilinx_ethlite: use qdev properties for configuration.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r--hw/xilinx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h
index 5e6aeeaf6..705ff5b84 100644
--- a/hw/xilinx.h
+++ b/hw/xilinx.h
@@ -40,7 +40,7 @@ xilinx_ethlite_create(NICInfo *nd, target_phys_addr_t base, qemu_irq irq,
qemu_check_nic_model(nd, "xilinx-ethlite");
dev = qdev_create(NULL, "xilinx,ethlite");
- dev->nd = nd;
+ qdev_set_nic_properties(dev, nd);
qdev_prop_set_uint32(dev, "txpingpong", txpingpong);
qdev_prop_set_uint32(dev, "rxpingpong", rxpingpong);
qdev_init_nofail(dev);