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

Re: [XenPPC] [PATCH] merge firmware and builtin command lines



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>

---

 setup.c |    2 ++
 1 file changed, 2 insertions(+)

diff -r 6f3d44537b76 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 12:47:32 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®.