mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/ppc: use pci_init_nic_devices()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
0aff81618b
commit
36b6968d34
4 changed files with 8 additions and 18 deletions
|
@ -444,9 +444,7 @@ static void ppc_core99_init(MachineState *machine)
|
|||
graphic_depth = 15;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
/* The NewWorld NVRAM is not located in the MacIO device */
|
||||
if (kvm_enabled() && qemu_real_host_page_size() > 4096) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue