]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
Reduce diff between arch/i386/pci/irq.c and irq-xen.c.
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 1 Mar 2008 09:28:59 +0000 (09:28 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 1 Mar 2008 09:28:59 +0000 (09:28 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   450:87721beab1b907e45f101ed4075a75adab828b59
linux-2.6.18-xen date:        Thu Feb 28 16:41:41 2008 +0000

linux-2.6-xen-sparse/arch/i386/pci/irq-xen.c

index 96db1240e6b0156442f35bae70ca34194d845905..0d235937ec47ab6096ef5813aa9b5c7c5bb0d1aa 100644 (file)
@@ -259,13 +259,13 @@ static int pirq_via_set(struct pci_dev *router, struct pci_dev *dev, int pirq, i
  */
 static int pirq_via586_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
 {
-       static const unsigned int pirqmap[4] = { 3, 2, 5, 1 };
+       static const unsigned int pirqmap[5] = { 3, 2, 5, 1, 1 };
        return read_config_nybble(router, 0x55, pirqmap[pirq-1]);
 }
 
 static int pirq_via586_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
 {
-       static const unsigned int pirqmap[4] = { 3, 2, 5, 1 };
+       static const unsigned int pirqmap[5] = { 3, 2, 5, 1, 1 };
        write_config_nybble(router, 0x55, pirqmap[pirq-1], irq);
        return 1;
 }
@@ -547,6 +547,12 @@ static __init int intel_router_probe(struct irq_router *r, struct pci_dev *route
                case PCI_DEVICE_ID_INTEL_ICH8_2:
                case PCI_DEVICE_ID_INTEL_ICH8_3:
                case PCI_DEVICE_ID_INTEL_ICH8_4:
+               case PCI_DEVICE_ID_INTEL_ICH9_0:
+               case PCI_DEVICE_ID_INTEL_ICH9_1:
+               case PCI_DEVICE_ID_INTEL_ICH9_2:
+               case PCI_DEVICE_ID_INTEL_ICH9_3:
+               case PCI_DEVICE_ID_INTEL_ICH9_4:
+               case PCI_DEVICE_ID_INTEL_ICH9_5:
                        r->name = "PIIX/ICH";
                        r->get = pirq_piix_get;
                        r->set = pirq_piix_set;