From: Kevin O'Connor Date: Fri, 9 Oct 2009 01:34:45 +0000 (-0400) Subject: Correct default pci irq links X-Git-Tag: rel-0.5.0~85 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4dde5325b7ea9b1a458dcba4e8e66ce8847c3f78;p=seabios.git Correct default pci irq links The hardware uses irqs 10 and 11, so change the bios to reflect that. Qemu pcbios commit b0a155cfddc57e93b641a24fb198fdd8d738f143 Signed-off-by: Gleb Natapov --- diff --git a/src/pciinit.c b/src/pciinit.c index fffbd1e..1d0f784 100644 --- a/src/pciinit.c +++ b/src/pciinit.c @@ -19,11 +19,7 @@ static u32 pci_bios_mem_addr; static u32 pci_bios_bigmem_addr; /* host irqs corresponding to PCI irqs A-D */ static u8 pci_irqs[4] = { -#if CONFIG_KVM 10, 10, 11, 11 -#else - 11, 9, 11, 9 -#endif }; static void pci_set_io_region_addr(u16 bdf, int region_num, u32 addr) @@ -102,7 +98,7 @@ static void pci_bios_init_device(u16 bdf) device_id = pci_config_readw(bdf, PCI_DEVICE_ID); dprintf(1, "PCI: bus=%d devfn=0x%02x: vendor_id=0x%04x device_id=0x%04x\n" , pci_bdf_to_bus(bdf), pci_bdf_to_devfn(bdf), vendor_id, device_id); - switch(class) { + switch (class) { case PCI_CLASS_STORAGE_IDE: if (vendor_id == PCI_VENDOR_ID_INTEL && (device_id == PCI_DEVICE_ID_INTEL_82371SB_1