]> 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 <dwmw2@infradead.org>
Mon, 8 Jan 2024 13:50:16 +0000 (13:50 +0000)
commit8926f991c3d2690a69cc1b58e7ccd8b855c29fe9
tree66acc30894e96875dab80c41e27f819f3da72a76
parent292e5af34976d4788ea4d40fd7df9b6253eecc8c
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>
hw/sparc64/sun4u.c