ia64/xen-unstable

changeset 7928:cc085702cf9f

Enable serial input for Xen (tied to ifdef, default off for now)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author djm@kirby.fc.hp.com
date Fri Dec 02 10:12:07 2005 -0600 (2005-12-02)
parents ffe910ea7cb7
children 97de0e776d8b
files xen/arch/ia64/xen/xensetup.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xensetup.c	Fri Dec 02 10:06:42 2005 -0600
     1.2 +++ b/xen/arch/ia64/xen/xensetup.c	Fri Dec 02 10:12:07 2005 -0600
     1.3 @@ -289,6 +289,11 @@ printk("About to call init_xen_time()\n"
     1.4  printk("About to call ac_timer_init()\n");
     1.5      ac_timer_init();
     1.6  
     1.7 +#ifdef CONFIG_XEN_CONSOLE_INPUT	/* CONFIG_SERIAL_8250_CONSOLE=n in dom0! */
     1.8 +    initialize_keytable();
     1.9 +    serial_init_postirq();
    1.10 +#endif
    1.11 +
    1.12  #ifdef CONFIG_SMP
    1.13      if ( opt_nosmp )
    1.14      {
    1.15 @@ -407,7 +412,7 @@ printk("About to call init_trace_bufs()\
    1.16      init_trace_bufs();
    1.17  
    1.18      /* Give up the VGA console if DOM0 is configured to grab it. */
    1.19 -#ifndef IA64
    1.20 +#ifdef CONFIG_XEN_CONSOLE_INPUT	/* CONFIG_SERIAL_8250_CONSOLE=n in dom0! */
    1.21      console_endboot(cmdline && strstr(cmdline, "tty0"));
    1.22  #endif
    1.23