From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJUpm-0007A1-Co for qemu-devel@nongnu.org; Tue, 20 Feb 2007 08:15:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJUpk-00079M-MD for qemu-devel@nongnu.org; Tue, 20 Feb 2007 08:15:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJUpk-00079H-Hy for qemu-devel@nongnu.org; Tue, 20 Feb 2007 08:15:04 -0500 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJUpk-00039N-3R for qemu-devel@nongnu.org; Tue, 20 Feb 2007 08:15:04 -0500 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id l1KDF0gQ007294 for ; Tue, 20 Feb 2007 05:15:00 -0800 (PST) Message-ID: <45DAF453.30401@windriver.com> Date: Tue, 20 Feb 2007 07:14:59 -0600 From: Jason Wessel MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050501040608070702080209" Subject: [Qemu-devel] PATCH: 2nd serial port for Malta Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------050501040608070702080209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. --------------050501040608070702080209 Content-Type: text/plain; name="malta_2nd_serial_port.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="malta_2nd_serial_port.patch" 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. --------------050501040608070702080209--