hw/arm/npcm7xx: Call qemu_configure_nic_device() for GMAC modules
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Feb 2024 17:12:30 +0000 (17:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Feb 2024 11:36:23 +0000 (11:36 +0000)
commit243f865af95db55f30c8547b407b3420909590a7
tree2d5fce01b4b58b5ade1de5dc626d3dda77411067
parentea2fde5bccc514d9072eec740ecb4d5d870b4231
hw/arm/npcm7xx: Call qemu_configure_nic_device() for GMAC modules

The patchset adding the GMAC ethernet to this SoC crossed in the
mail with the patchset cleaning up the NIC handling. When we
create the GMAC modules we must call qemu_configure_nic_device()
so that the user has the opportunity to use the -nic commandline
option to create a network backend and connect it to the GMACs.

Add the missing call.

Fixes: 21e5326a7c ("hw/arm: Add GMAC devices to NPCM7XX SoC")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Message-id: 20240206171231.396392-2-peter.maydell@linaro.org
hw/arm/npcm7xx.c