hw/arm/sbsa-ref: use pci_init_nic_devices()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
This commit is contained in:
parent
861bbc8812
commit
0e45d0eb23
@ -673,9 +673,7 @@ static void create_pcie(SBSAMachineState *sms)
|
||||
|
||||
pci = PCI_HOST_BRIDGE(dev);
|
||||
if (pci->bus) {
|
||||
for (i = 0; i < nb_nics; i++) {
|
||||
pci_nic_init_nofail(&nd_table[i], pci->bus, mc->default_nic, NULL);
|
||||
}
|
||||
pci_init_nic_devices(pci->bus, mc->default_nic);
|
||||
}
|
||||
|
||||
pci_create_simple(pci->bus, -1, "bochs-display");
|
||||
|
Loading…
Reference in New Issue
Block a user