do not init ne2000 if no network enabled
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1714 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5198cfd927
commit
183b4a3806
|
@ -272,6 +272,7 @@ 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);
|
||||
|
||||
if (nd_table[0].vlan)
|
||||
isa_ne2000_init(0x300, 9, &nd_table[0]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue