Commit 183b4a38 authored by bellard's avatar bellard
Browse files

do not init ne2000 if no network enabled

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 5198cfd9
......@@ -272,7 +272,8 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size,
vga_ram_size, 0, 0);
isa_ne2000_init(0x300, 9, &nd_table[0]);
if (nd_table[0].vlan)
isa_ne2000_init(0x300, 9, &nd_table[0]);
QEMUMachine mips_machine = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment