PATCH: 2nd serial port for Malta
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.
hw/mips_malta.c +1 -0
@@ -570,6 +570,7 @@ void mips_malta_init (int ram_size, intkbd_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.