From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUiAe-0004je-C8 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUiAd-0004ix-B8 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:03 -0500 Received: from [199.232.76.173] (port=36304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUiAb-0004ir-SD for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:01 -0500 Received: from mx2.redhat.com ([66.187.237.31]:34684) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUiAb-0001Ro-CB for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:01 -0500 Message-Id: <20090204134435.840744176@localhost.localdomain> References: <20090204134415.511485602@localhost.localdomain> Date: Wed, 04 Feb 2009 11:44:20 -0200 From: Marcelo Tosatti Content-Disposition: inline; filename=irq Subject: [Qemu-devel] [patch 5/5] bios: mark the acpi sci interrupt as connected to irq 9 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Avi Kivity Due to a chipset bug, the sci interrupt is hardwired to irq 9. Set the pci interrupt line register accordingly. Signed-off-by: Avi Kivity Index: bochs/bios/rombios32.c =================================================================== --- bochs.orig/bios/rombios32.c +++ bochs/bios/rombios32.c @@ -981,6 +981,8 @@ static void pci_bios_init_device(PCIDevi /* PIIX4 Power Management device (for ACPI) */ pm_io_base = PM_IO_BASE; smb_io_base = SMB_IO_BASE; + // acpi sci is hardwired to 9 + pci_config_writeb(d, PCI_INTERRUPT_LINE, 9); pm_sci_int = pci_config_readb(d, PCI_INTERRUPT_LINE); piix4_pm_enable(d); acpi_enabled = 1; --