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-changelog

[Xen-changelog] [xen-unstable] [IA64] Auto setup serial console on PRIME

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Auto setup serial console on PRIMEQUEST
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Apr 2007 12:30:21 -0700
Delivery-date: Mon, 09 Apr 2007 12:29:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1175785996 21600
# Node ID 770c465344d3d2a476a6e31f2511bfab353b0786
# Parent  f378c424e0ced4cbc584e5c6125d065f1cc05d0c
[IA64] Auto setup serial console on PRIMEQUEST

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/linux-xen/setup.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff -r f378c424e0ce -r 770c465344d3 xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c   Tue Apr 03 13:04:51 2007 -0600
+++ b/xen/arch/ia64/linux-xen/setup.c   Thu Apr 05 09:13:16 2007 -0600
@@ -316,7 +316,7 @@ io_port_init (void)
 
 #ifdef XEN
 static int __init
-intel_tiger_console_setup(void)
+acpi_oem_console_setup(void)
 {
        extern struct ns16550_defaults ns16550_com1;
        efi_system_table_t *systab;
@@ -353,8 +353,17 @@ intel_tiger_console_setup(void)
        if (strncmp(hdr->signature, XSDT_SIG, sizeof(XSDT_SIG) - 1))
                return -ENODEV;
 
+       /* Looking for Fujitsu PRIMEQUEST systems */
+       if (!strncmp(hdr->oem_id, "FUJITSPQ", 8) &&
+           (!strncmp(hdr->oem_table_id, "PQ", 2))){
+               ns16550_com1.baud = BAUD_AUTO;
+               ns16550_com1.io_base =  0x3f8;
+               ns16550_com1.irq = 48;
+               return 0;
+       }
+
        /*
-        * Only looking for Intel Tiger systems
+        * Looking for Intel Tiger systems
         * Tiger 2: SR870BH2
         * Tiger 4: SR870BN4
         */
@@ -402,7 +411,7 @@ early_console_setup (char *cmdline)
 #endif
 
 #ifdef XEN
-       if (!intel_tiger_console_setup())
+       if (!acpi_oem_console_setup())
                earlycons++;
 #endif
        return (earlycons) ? 0 : -1;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Auto setup serial console on PRIMEQUEST, Xen patchbot-unstable <=