Revision 0ae18cee hw/mips_r4k.c
b/hw/mips_r4k.c | ||
---|---|---|
247 | 247 |
isa_vga_init(ds, phys_ram_base + ram_size, ram_size, |
248 | 248 |
vga_ram_size); |
249 | 249 |
|
250 |
if (nd_table[0].vlan) { |
|
251 |
if (nd_table[i].model == NULL) { |
|
252 |
nd_table[i].model = "ne2k_isa"; |
|
253 |
} |
|
254 |
if (strcmp(nd_table[0].model, "ne2k_isa") == 0) { |
|
255 |
isa_ne2000_init(0x300, i8259[9], &nd_table[0]); |
|
256 |
} else if (strcmp(nd_table[0].model, "?") == 0) { |
|
257 |
fprintf(stderr, "qemu: Supported NICs: ne2k_isa\n"); |
|
258 |
exit (1); |
|
259 |
} else { |
|
260 |
fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd_table[0].model); |
|
261 |
exit (1); |
|
262 |
} |
|
263 |
} |
|
250 |
if (nd_table[0].vlan) |
|
251 |
isa_ne2000_init(0x300, i8259[9], &nd_table[0]); |
|
264 | 252 |
|
265 | 253 |
if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) { |
266 | 254 |
fprintf(stderr, "qemu: too many IDE bus\n"); |
Also available in: Unified diff