WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [linux-ppc-2.6] [ppc] Add preferred console, which allows us to

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [linux-ppc-2.6] [ppc] Add preferred console, which allows us to get rid of hard-coded console=ttyS0 bootargs in Xen.
From: Xen patchbot-linux-ppc-2.6 <patchbot-linux-ppc-2.6@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 18:06:45 +0000
Delivery-date: Tue, 20 Jun 2006 11:11:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [linux-ppc-2.6] [ppc] Add preferred console, which allows us to get rid of hard-coded console=ttyS0 bootargs in Xen., Xen patchbot-linux-ppc-2 . 6 <=