]> 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 <dwmw@amazon.co.uk>
Sun, 22 Oct 2023 13:29:55 +0000 (14:29 +0100)
commitbfc3f2cec8bfbc41cd7ec98589b2286f25e63a22
tree91443ec745f71bda669ef4e7c3bd32ccea6547da
parentace45e5c1c02f1ed00574ab3299b0f30a7006b5e
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