]> xenbits.xensource.com Git - xen.git/commitdiff
[IA64] Fix serial console IRQ on PRIMEQUEST
authorAlex Williamson <alex.williamson@hp.com>
Fri, 6 Apr 2007 16:06:30 +0000 (10:06 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Fri, 6 Apr 2007 16:06:30 +0000 (10:06 -0600)
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@jp.fujitsu.com>
xen/arch/ia64/linux-xen/setup.c

index b284c135276a01be8a92019b0b0692d60dc295c5..c0a78264e6b2ae0734d3606fe82e8b19d14a07ff 100644 (file)
@@ -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;
        }