ia64/xen-unstable

changeset 14713:9ec7dadc98ba

[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@jp.fujitsu.com>
author Alex Williamson <alex.williamson@hp.com>
date Fri Apr 06 10:06:30 2007 -0600 (2007-04-06)
parents 5d9ab2d06709
children eb3e430242ac
files xen/arch/ia64/linux-xen/setup.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/setup.c	Thu Apr 05 09:30:26 2007 -0600
     1.2 +++ b/xen/arch/ia64/linux-xen/setup.c	Fri Apr 06 10:06:30 2007 -0600
     1.3 @@ -96,6 +96,7 @@ unsigned int num_io_spaces;
     1.4  
     1.5  #ifdef XEN
     1.6  extern void early_cmdline_parse(char **);
     1.7 +extern unsigned int ns16550_com1_gsi;
     1.8  #endif
     1.9  
    1.10  /*
    1.11 @@ -358,7 +359,7 @@ acpi_oem_console_setup(void)
    1.12  	    (!strncmp(hdr->oem_table_id, "PQ", 2))){
    1.13  		ns16550_com1.baud = BAUD_AUTO;
    1.14  		ns16550_com1.io_base =	0x3f8;
    1.15 -		ns16550_com1.irq = 48;
    1.16 +		ns16550_com1.irq = ns16550_com1_gsi = 4;
    1.17  		return 0;
    1.18  	}
    1.19