hw/net/smc91c111: use qemu_configure_nic_device()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:35 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:47 +0000 (16:23 +0000)
commitcd53991de40a90399a8b56f0ad7b9320442ea5bb
treedc3c2f27d3a2b85da77ce357999b8fa086328b82
parent8cef839c2d2f3fc2430570fd040104e3ed61dcf8
hw/net/smc91c111: use qemu_configure_nic_device()

Some callers instantiate the device unconditionally, others will do so only
if there is a NICInfo to go with it. This appears to be fairly random, but
preserve the existing behaviour of each caller for now.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/arm/gumstix.c
hw/arm/integratorcp.c
hw/arm/mainstone.c
hw/arm/realview.c
hw/arm/versatilepb.c
hw/net/smc91c111.c
include/hw/net/smc91c111.h