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

[Xen-changelog] [xen-unstable] [IA64] Fix serial console IRQ on PRIMEQUEST



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1175875590 21600
# Node ID 9ec7dadc98ba1eadca8fe9c38ae6d6dd41d6d29d
# Parent  5d9ab2d06709823714682be14a6b8719bffdcd18
[IA64] Fix serial console IRQ on PRIMEQUEST

Use GSI instead of IRQ number and set ns16550_com1_gsi so that
iosapic_register_intr() is called.

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

diff -r 5d9ab2d06709 -r 9ec7dadc98ba xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c   Thu Apr 05 09:30:26 2007 -0600
+++ b/xen/arch/ia64/linux-xen/setup.c   Fri Apr 06 10:06:30 2007 -0600
@@ -96,6 +96,7 @@ unsigned int num_io_spaces;
 
 #ifdef XEN
 extern void early_cmdline_parse(char **);
+extern unsigned int ns16550_com1_gsi;
 #endif
 
 /*
@@ -358,7 +359,7 @@ acpi_oem_console_setup(void)
            (!strncmp(hdr->oem_table_id, "PQ", 2))){
                ns16550_com1.baud = BAUD_AUTO;
                ns16550_com1.io_base =  0x3f8;
-               ns16550_com1.irq = 48;
+               ns16550_com1.irq = ns16550_com1_gsi = 4;
                return 0;
        }
 

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


 


Rackspace

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