]> www.infradead.org Git - users/dwmw2/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>
Thu, 1 Feb 2024 16:02:36 +0000 (16:02 +0000)
commitbb4bf749301b11e2ff9d9457bd38df63bbf64007
tree74d0ac0a6bb283d33a484bc8ffb30799a9f6a5d9
parentea528f0e8459718a85bb64978b717dcb36dbe139
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