direct-io.hg

changeset 2385:eb30ab8d0c31

bitkeeper revision 1.1159.53.21 (41304f03AEY0D00K1DyuV8kwtvilfQ)

Always enable our console so that we get console output even
if the actual console is on the vga or other display.
author cl349@freefall.cl.cam.ac.uk
date Sat Aug 28 09:23:15 2004 +0000 (2004-08-28)
parents 828c1ee1829f
children bcc898397e06
files linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c
line diff
     1.1 --- a/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c	Fri Aug 27 23:59:14 2004 +0000
     1.2 +++ b/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c	Sat Aug 28 09:23:15 2004 +0000
     1.3 @@ -158,6 +158,10 @@ void xen_console_init(void)
     1.4          if ( xc_mode == XC_DEFAULT )
     1.5              xc_mode = XC_SERIAL;
     1.6          kcons_info.write = kcons_write_dom0;
     1.7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
     1.8 +	if ( xc_mode == XC_SERIAL )
     1.9 +	    kcons_info.flags |= CON_ENABLED;
    1.10 +#endif
    1.11      }
    1.12      else
    1.13      {