parisc: Initialize PCI bridge cache line and default latency
PCI controllers and pci-pci bridges may have not been fully initialized
regarding cache line and defaul latency.
This partly reverts
commit 5f0e9b4
("parisc: Remove unused pcibios_init_bus()")
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -599,8 +599,10 @@ dino_fixup_bus(struct pci_bus *bus)
|
||||
** P2PB's only have 2 BARs, no IRQs.
|
||||
** I'd like to just ignore them for now.
|
||||
*/
|
||||
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI)
|
||||
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) {
|
||||
pcibios_init_bridge(dev);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* null out the ROM resource if there is one (we don't
|
||||
* care about an expansion rom on parisc, since it
|
||||
|
@@ -790,8 +790,10 @@ lba_fixup_bus(struct pci_bus *bus)
|
||||
/*
|
||||
** P2PB's have no IRQs. ignore them.
|
||||
*/
|
||||
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI)
|
||||
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) {
|
||||
pcibios_init_bridge(dev);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Adjust INTERRUPT_LINE for this dev */
|
||||
iosapic_fixup_irq(ldev->iosapic_obj, dev);
|
||||
|
Reference in New Issue
Block a user