Revision bd3e2c4e
b/hw/ppc_prep.c | ||
---|---|---|
636 | 636 |
if (nd_table[0].model == NULL |
637 | 637 |
|| strcmp(nd_table[0].model, "ne2k_isa") == 0) { |
638 | 638 |
isa_ne2000_init(ne2000_io[i], i8259[ne2000_irq[i]], &nd_table[i]); |
639 |
} else if (strcmp(nd_table[0].model, "?") == 0) { |
|
640 |
fprintf(stderr, "qemu: Supported NICs: ne2k_isa\n"); |
|
641 |
exit (1); |
|
642 | 639 |
} else { |
643 |
/* Why ? */ |
|
644 |
cpu_abort(env, "qemu: Unsupported NIC: %s\n", nd_table[0].model); |
|
645 |
exit (1); |
|
640 |
pci_nic_init(pci_bus, &nd_table[i], -1); |
|
646 | 641 |
} |
647 | 642 |
} |
648 | 643 |
|
Also available in: Unified diff