WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH] fixed serial console support

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] fixed serial console support
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 23 Nov 2005 14:10:41 -0700
Delivery-date: Wed, 23 Nov 2005 21:08:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: LOSL
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
  I went ahead and added polling support to the ns16550 driver and sent
it out to xen-devel this morning:

http://lists.xensource.com/archives/html/xen-devel/2005-11/msg01041.html

With that, the patch below, and disabling CONFIG_SERIAL_8250 in the xen0
config file I have a working serial console and can switch between the
xen and dom0 consoles.  I'm sending this out now in case anyone wants to
have their console work better in the interim (I don't necessarily
expect Dan to pick up the ns16550 changes until they're merged
upstream).  Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 90b9e8569dfb xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Tue Nov 22 18:19:11 2005
+++ b/xen/arch/ia64/xen/xensetup.c      Wed Nov 23 11:29:12 2005
@@ -289,6 +289,9 @@
 printk("About to call ac_timer_init()\n");
     ac_timer_init();
 
+    initialize_keytable();
+    serial_init_postirq();
+
 #ifdef CONFIG_SMP
     if ( opt_nosmp )
     {
@@ -407,9 +410,7 @@
     init_trace_bufs();
 
     /* Give up the VGA console if DOM0 is configured to grab it. */
-#ifndef IA64
     console_endboot(cmdline && strstr(cmdline, "tty0"));
-#endif
 
 #ifdef CLONE_DOMAIN0
     {



_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] fixed serial console support, Alex Williamson <=