diff options
author | bellard | 2005-12-18 18:51:01 +0100 |
---|---|---|
committer | bellard | 2005-12-18 18:51:01 +0100 |
commit | 183b4a380683751911a24a06abae6c9d8d58ac86 (patch) | |
tree | 4f02d21746ba00ae35aa79133392c3f969c35e67 /hw/mips_r4k.c | |
parent | smc91c111 fixes (Paul Brook) (diff) | |
download | qemu-183b4a380683751911a24a06abae6c9d8d58ac86.tar.gz qemu-183b4a380683751911a24a06abae6c9d8d58ac86.tar.xz qemu-183b4a380683751911a24a06abae6c9d8d58ac86.zip |
do not init ne2000 if no network enabled
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1714 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r-- | hw/mips_r4k.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 2b47ef5849..5f51f874c4 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 = { |