]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips: use qemu_create_nic_device()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 21 Oct 2023 20:34:41 +0000 (21:34 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 22 Oct 2023 15:21:39 +0000 (16:21 +0100)
commit465fde175c63b4d2487b423909617a7c697ac0ea
treed6943eb63e714e04641ff4c292f8c52810f87395
parente264a1b1502c8266bb5b952a4d1c89a73f0ab4ff
hw/mips: use qemu_create_nic_device()

The Jazz and MIPS SIM platforms both instantiate their NIC only if a
corresponding configuration exists for it. Convert them to use the
qemu_create_nic_device() function for that.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/mips/jazz.c
hw/mips/mipssim.c