[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>
This commit is contained in:
parent
514d207db1
commit
3efd273b4d
|
@ -625,6 +625,7 @@ static int pci_setup_device(struct pci_dev * dev)
|
||||||
/* The PCI-to-PCI bridge spec requires that subtractive
|
/* The PCI-to-PCI bridge spec requires that subtractive
|
||||||
decoding (i.e. transparent) bridge must have programming
|
decoding (i.e. transparent) bridge must have programming
|
||||||
interface code of 0x01. */
|
interface code of 0x01. */
|
||||||
|
pci_read_irq(dev);
|
||||||
dev->transparent = ((dev->class & 0xff) == 1);
|
dev->transparent = ((dev->class & 0xff) == 1);
|
||||||
pci_read_bases(dev, 2, PCI_ROM_ADDRESS1);
|
pci_read_bases(dev, 2, PCI_ROM_ADDRESS1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue