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

[XenPPC] [linux-ppc-2.6] [ppc] Add preferred console, which allows us to get rid of hard-coded console=ttyS0 bootargs in Xen.



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 87d019e8edc2f70d37b1f03b83ac7bf6ed23ae33
# Parent  6f3d44537b763e0840e29d406c763779202fd8fd
[ppc] Add preferred console, which allows us to get rid of hard-coded 
console=ttyS0 bootargs in Xen.

Add preferred console, which allows us to get rid of hard-coded
console=ttyS0 bootargs in Xen.  Compiled and tested up to successful 
nfsroot on JS20.

Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>
---
 arch/powerpc/platforms/xen/setup.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 6f3d44537b76 -r 87d019e8edc2 arch/powerpc/platforms/xen/setup.c
--- a/arch/powerpc/platforms/xen/setup.c        Fri Jun 16 16:07:38 2006 -0500
+++ b/arch/powerpc/platforms/xen/setup.c        Tue Jun 20 13:50:49 2006 -0400
@@ -120,6 +120,8 @@ static void __init xen_init_early(void)
                ppc_md.get_boot_time            = mach_maple_md.get_boot_time;
                ppc_md.set_rtc_time             = mach_maple_md.set_rtc_time;
                ppc_md.get_rtc_time             = mach_maple_md.get_rtc_time;
+
+               add_preferred_console("ttyS", 0, NULL);
        }
 
        DBG("Hello World I'm Maple Xen-LPAR!\n");

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


 


Rackspace

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