Revision cb457d76 hw/ppc_oldworld.c

b/hw/ppc_oldworld.c
307 307
    escc_mem_index = escc_init(0x80013000, pic[0x10], serial_hds[0],
308 308
                               serial_hds[1], ESCC_CLOCK, 4);
309 309

  
310
    for(i = 0; i < nb_nics; i++) {
311
        if (!nd_table[i].model)
312
            nd_table[i].model = "ne2k_pci";
313
        pci_nic_init(pci_bus, &nd_table[i], -1);
314
    }
310
    for(i = 0; i < nb_nics; i++)
311
        pci_nic_init(pci_bus, &nd_table[i], -1, "ne2k_pci");
315 312

  
316 313
    /* First IDE channel is a CMD646 on the PCI bus */
317 314

  

Also available in: Unified diff