Patchwork [5/6] kvm: bios: correct default pci irq links

login
register
mail settings
Submitter Gerd Hoffmann
Date Aug. 14, 2009, 12:21 p.m.
Message ID <1250252518-29300-6-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/31401/
State Superseded
Headers show

Comments

Gerd Hoffmann - Aug. 14, 2009, 12:21 p.m.
From: Avi Kivity <avi@qumranet.com>

the hardware uses irqs 10 and 11, so change the bios to reflect that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 rombios32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/rombios32.c b/rombios32.c
index 3d15283..ece0865 100644
--- a/rombios32.c
+++ b/rombios32.c
@@ -716,7 +716,7 @@  static uint32_t pci_bios_io_addr;
 static uint32_t pci_bios_mem_addr;
 static uint32_t pci_bios_bigmem_addr;
 /* host irqs corresponding to PCI irqs A-D */
-static uint8_t pci_irqs[4] = { 11, 9, 11, 9 };
+static uint8_t pci_irqs[4] = { 10, 10, 11, 11 };
 static PCIDevice i440_pcidev;
 
 static void pci_config_writel(PCIDevice *d, uint32_t addr, uint32_t val)