]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc_oldworld.c
Fix pci_add nic not to exit on bad model
[mirror_qemu.git] / hw / ppc_oldworld.c
index bb8c969ca2e716c91ec8d323bcef1d2940f280bf..79f17e8580528c533bb87643559d755bdc4d3a7d 100644 (file)
@@ -333,7 +333,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size,
                                serial_hds[1], ESCC_CLOCK, 4);
 
     for(i = 0; i < nb_nics; i++)
-        pci_nic_init(&nd_table[i], "ne2k_pci", NULL);
+        pci_nic_init_nofail(&nd_table[i], "ne2k_pci", NULL);
 
 
     if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) {