]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/sh4/r2d: use pci_init_nic_devices()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:23 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 8 Jan 2024 13:50:16 +0000 (13:50 +0000)
commit292e5af34976d4788ea4d40fd7df9b6253eecc8c
tree523ddc70c166c2bb7149e547de85d81036dbb3a0
parentec74d612a7ffb52e14a12fa55985f6ef905e8530
hw/sh4/r2d: use pci_init_nic_devices()

Previously, the first PCI NIC would be assigned to slot 2 even if the
user override the model and made it something other than an rtl8139
which is the default. Everything else would be dynamically assigned.

Now, the first rtl8139 gets slot 2 and everything else is dynamic.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
hw/sh4/r2d.c