]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/mips/malta: use pci_init_nic_devices()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 21 Oct 2023 20:30:51 +0000 (21:30 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 8 Jan 2024 13:50:16 +0000 (13:50 +0000)
commit0fdf8ca354ca9a37812fc2cd3f0051a235ea411e
tree86662467325a1aa63ed7a0834e4219c01c923d73
parent9a964f2fee40eb3e539a6f1209ef8b96f215f703
hw/mips/malta: use pci_init_nic_devices()

The Malta board setup code would previously place the first NIC into PCI
slot 11 if was a PCNet card, and the rest (including the first if it was
anything other than a PCNet card) would be dynamically assigned.

Now it will place any PCNet NIC into slot 11, and then anything else will
be dynamically assigned.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/mips/malta.c