From: Kristen Accardi Date: Thu, 3 Nov 2005 00:55:49 +0000 (-0800) Subject: [PATCH] pci: call pci_read_irq for bridges X-Git-Tag: v2.6.16-rc1~654^2~41 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efd273b4d52f0d3ae5ce61b2161cb3752f360a0;p=linux-2.6 [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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 2f82e63323..79be37a533 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -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;