Attached is a simple patch to enable the 2nd serial port on the malta board. Testing shows it even allows the use of KGDB over the second serial port.
signed-off-by: [EMAIL PROTECTED] Jason.
Index: qemu/hw/mips_malta.c =================================================================== --- qemu.orig/hw/mips_malta.c +++ qemu/hw/mips_malta.c @@ -570,6 +570,7 @@ void mips_malta_init (int ram_size, int kbd_init(); rtc_state = rtc_init(0x70, 8); serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]); + serial_init(&pic_set_irq_new, isa_pic, 0x2f8, 4, serial_hds[0]); parallel_init(0x378, 7, parallel_hds[0]); /* XXX: The floppy controller does not work correctly, something is probably wrong.
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel