From 183b4a380683751911a24a06abae6c9d8d58ac86 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 18 Dec 2005 17:51:01 +0000 Subject: [PATCH] do not init ne2000 if no network enabled git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1714 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/mips_r4k.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 2b47ef5..5f51f87 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -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 = { -- 2.7.4