diff options
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r-- | hw/xilinx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h index 5e6aeeaf69..705ff5b84b 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); |