[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Default serial console to BAUD_AUTO



# HG changeset patch
# User john.levon@xxxxxxx
# Date 1190588448 25200
# Node ID 9a8a2d9ad94f20c995a7b59b75fdd6fefb8dafc6
# Parent  20c00448e39c7d8528e40287cafe614a5d4bdbf5
Default serial console to BAUD_AUTO

Currently, the defaults for the serial console have a baud rate of zero,
which is less than useful. Default to BAUD_AUTO instead, so you can just
specify "console=com1" and it will most likely work.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -303,6 +303,7 @@ void __init __start_xen(multiboot_info_t
     paddr_t s, e;
     int i, e820_warn = 0, e820_raw_nr = 0, bytes = 0;
     struct ns16550_defaults ns16550 = {
+        .baud = BAUD_AUTO,
         .data_bits = 8,
         .parity    = 'n',
         .stop_bits = 1

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.