diff options
author | Kristen Accardi <kristen.c.accardi@intel.com> | 2005-11-02 19:55:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:14 -0500 |
commit | 3efd273b4d52f0d3ae5ce61b2161cb3752f360a0 (patch) | |
tree | 4cd04e90ffd5b86b9dd24b4e9d4195f1218bb471 /drivers/pci/probe.c | |
parent | 514d207db1fa3c3d2bd7990ebed8d81cebc7875b (diff) |
[PATCH] pci: call pci_read_irq for bridges
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>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 2f82e63323f3..79be37a53397 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -625,6 +625,7 @@ static int pci_setup_device(struct pci_dev * dev) | |||
625 | /* The PCI-to-PCI bridge spec requires that subtractive | 625 | /* The PCI-to-PCI bridge spec requires that subtractive |
626 | decoding (i.e. transparent) bridge must have programming | 626 | decoding (i.e. transparent) bridge must have programming |
627 | interface code of 0x01. */ | 627 | interface code of 0x01. */ |
628 | pci_read_irq(dev); | ||
628 | dev->transparent = ((dev->class & 0xff) == 1); | 629 | dev->transparent = ((dev->class & 0xff) == 1); |
629 | pci_read_bases(dev, 2, PCI_ROM_ADDRESS1); | 630 | pci_read_bases(dev, 2, PCI_ROM_ADDRESS1); |
630 | break; | 631 | break; |