diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-23 09:37:34 +0100 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2024-02-02 16:23:47 +0000 |
commit | 8cef839c2d2f3fc2430570fd040104e3ed61dcf8 (patch) | |
tree | 576f7f855aa767807de6fe289732551a725b3aac /hw/arm/fsl-imx6.c | |
parent | 809601b3aa8d0ee5db13cff97833aae4acd0d782 (diff) | |
download | qemu-8cef839c2d2f3fc2430570fd040104e3ed61dcf8.zip qemu-8cef839c2d2f3fc2430570fd040104e3ed61dcf8.tar.gz qemu-8cef839c2d2f3fc2430570fd040104e3ed61dcf8.tar.bz2 |
hw/arm/fsl: use qemu_configure_nic_device()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/arm/fsl-imx6.c')
-rw-r--r-- | hw/arm/fsl-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c index b7f93d8..85748cb 100644 --- a/hw/arm/fsl-imx6.c +++ b/hw/arm/fsl-imx6.c @@ -388,7 +388,7 @@ static void fsl_imx6_realize(DeviceState *dev, Error **errp) object_property_set_uint(OBJECT(&s->eth), "phy-num", s->phy_num, &error_abort); - qdev_set_nic_properties(DEVICE(&s->eth), &nd_table[0]); + qemu_configure_nic_device(DEVICE(&s->eth), true, NULL); if (!sysbus_realize(SYS_BUS_DEVICE(&s->eth), errp)) { return; } |