]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sparc64/sun4u: use pci_init_nic_devices()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:26 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:47 +0000 (16:23 +0000)
commitc8a6107bca7f4590cf213407afa9a021e20a3a59
tree62ecd6302ffe9ffea85601e3dee561c8a9b558b9
parent2d89ae0cbf4c04f95843ad9e4b7fe090e5afad46
hw/sparc64/sun4u: use pci_init_nic_devices()

The first sunhme NIC gets placed a function 1 on slot 1 of PCI bus A,
and the rest are dynamically assigned on PCI bus B.

Previously, any PCI NIC would get the special treatment purely by
virtue of being first in the list.

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