All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] PATCH: 2nd serial port for Malta
@ 2007-02-20 13:14 Jason Wessel
  0 siblings, 0 replies; only message in thread
From: Jason Wessel @ 2007-02-20 13:14 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]


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: jason.wessel@windriver.com

Jason.

[-- Attachment #2: malta_2nd_serial_port.patch --]
[-- Type: text/plain, Size: 549 bytes --]

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-20 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20 13:14 [Qemu-devel] PATCH: 2nd serial port for Malta Jason Wessel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.