]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] pci: call pci_read_irq for bridges
authorKristen Accardi <kristen.c.accardi@intel.com>
Thu, 3 Nov 2005 00:55:49 +0000 (16:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:14 +0000 (12:13 -0800)
Call pci_read_irq() for bridges too, so that the pin value
is stored for bridges that require interrupts.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/probe.c

index 2f82e63323f3f3147c5a2fba65d372242e176018..79be37a533973153729b0974691b79559f496a0c 100644 (file)
@@ -625,6 +625,7 @@ static int pci_setup_device(struct pci_dev * dev)
                /* The PCI-to-PCI bridge spec requires that subtractive
                   decoding (i.e. transparent) bridge must have programming
                   interface code of 0x01. */ 
+               pci_read_irq(dev);
                dev->transparent = ((dev->class & 0xff) == 1);
                pci_read_bases(dev, 2, PCI_ROM_ADDRESS1);
                break;