Commit 9827e95c78ff34051533211624d0177e744a92d7
1 parent
51e11d9e
added NE2000 (Ralf Baechle)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1475 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
3 additions
and
1 deletions
Makefile.target
... | ... | @@ -360,7 +360,7 @@ VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o |
360 | 360 | VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o mixeng.o |
361 | 361 | endif |
362 | 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 | 364 | VL_OBJS+= #i8259.o i8254.o fdc.o m48t59.o |
365 | 365 | endif |
366 | 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 | 298 | serial_init(0x3f8, 4, serial_hds[0]); |
299 | 299 | vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size, |
300 | 300 | vga_ram_size); |
301 | + | |
302 | + isa_ne2000_init(0x300, 9, &nd_table[0]); | |
301 | 303 | } |
302 | 304 | |
303 | 305 | QEMUMachine mips_machine = { | ... | ... |