hw/sparc/sun4m: use qemu_find_nic_info()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:55 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:47 +0000 (16:23 +0000)
commitae0b175b234370499970d7471397010727e448d9
tree178798e9ff765f6faa5f36c6bc97fcda690c7435
parent646f87a87408c04f42e1931637eb43bada4f36b5
hw/sparc/sun4m: use qemu_find_nic_info()

Obtain the MAC address from the NIC configuration if there is one, or
generate one explicitly so that it can be placed in the PROM.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/sparc/sun4m.c