mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/arm/fsl: use qemu_configure_nic_device()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
809601b3aa
commit
8cef839c2d
4 changed files with 4 additions and 4 deletions
|
@ -171,7 +171,7 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp)
|
|||
|
||||
object_property_set_uint(OBJECT(&s->fec), "phy-num", s->phy_num,
|
||||
&error_abort);
|
||||
qdev_set_nic_properties(DEVICE(&s->fec), &nd_table[0]);
|
||||
qemu_configure_nic_device(DEVICE(&s->fec), true, NULL);
|
||||
|
||||
if (!sysbus_realize(SYS_BUS_DEVICE(&s->fec), errp)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue