Commit 9827e95c78ff34051533211624d0177e744a92d7

Authored by bellard
1 parent 51e11d9e

added NE2000 (Ralf Baechle)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1475 c046a42c-6fe2-441c-8c8c-71466251a162
Makefile.target
@@ -360,7 +360,7 @@ VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o @@ -360,7 +360,7 @@ VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o
360 VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o mixeng.o 360 VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o mixeng.o
361 endif 361 endif
362 ifeq ($(TARGET_ARCH), mips) 362 ifeq ($(TARGET_ARCH), mips)
363 -VL_OBJS+= mips.o mips_r4k.o dma.o vga.o serial.o #ide.o ne2000.o pckbd.o 363 +VL_OBJS+= mips.o mips_r4k.o dma.o vga.o serial.o ne2000.o #ide.o pckbd.o
364 VL_OBJS+= #i8259.o i8254.o fdc.o m48t59.o 364 VL_OBJS+= #i8259.o i8254.o fdc.o m48t59.o
365 endif 365 endif
366 ifeq ($(TARGET_BASE_ARCH), sparc) 366 ifeq ($(TARGET_BASE_ARCH), sparc)
hw/mips_r4k.c
@@ -298,6 +298,8 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device, @@ -298,6 +298,8 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
298 serial_init(0x3f8, 4, serial_hds[0]); 298 serial_init(0x3f8, 4, serial_hds[0]);
299 vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size, 299 vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size,
300 vga_ram_size); 300 vga_ram_size);
  301 +
  302 + isa_ne2000_init(0x300, 9, &nd_table[0]);
301 } 303 }
302 304
303 QEMUMachine mips_machine = { 305 QEMUMachine mips_machine = {