linux/arch/frv/mb93090-mb00
Lorenzo Pieralisi dff22d2054 PCI: Call pci_read_bridge_bases() from core instead of arch code
When we scan a PCI bus, we read PCI-PCI bridge window registers with
pci_read_bridge_bases() so we can validate the resource hierarchy.  Most
architectures call pci_read_bridge_bases() from pcibios_fixup_bus(), but
PCI-PCI bridges are not arch-specific, so this doesn't need to be in
arch-specific code.

Call pci_read_bridge_bases() directly from the PCI core instead of from
arch code.

For alpha and mips, we now call pci_read_bridge_bases() always; previously
we only called it if PCI_PROBE_ONLY was set.

[bhelgaas: changelog]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Ralf Baechle <ralf@linux-mips.org>
CC: James E.J. Bottomley <jejb@parisc-linux.org>
CC: Michael Ellerman <mpe@ellerman.id.au>
CC: Bjorn Helgaas <bhelgaas@google.com>
CC: Richard Henderson <rth@twiddle.net>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: David Howells <dhowells@redhat.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: Tony Luck <tony.luck@intel.com>
CC: David S. Miller <davem@davemloft.net>
CC: Ingo Molnar <mingo@redhat.com>
CC: Guenter Roeck <linux@roeck-us.net>
CC: Michal Simek <monstr@monstr.eu>
CC: Chris Zankel <chris@zankel.net>
2015-07-23 10:13:29 -05:00
..
flash.c frv: add module.h to mb93090-mb00/flash.c to avoid compile fail 2015-06-16 14:12:26 -04:00
Makefile frv: switch to GENERIC_PCI_IOMAP 2011-12-04 16:00:12 +02:00
pci-dma-nommu.c frv: use for_each_sg() 2015-06-25 17:00:37 -07:00
pci-dma.c frv: use for_each_sg() 2015-06-25 17:00:37 -07:00
pci-frv.c frv/PCI: Clip bridge windows to fit in upstream windows 2015-01-16 10:04:42 -06:00
pci-frv.h frv/PCI: Remove pcibios_last_bus 2013-10-29 16:55:58 -06:00
pci-irq.c PCI: Turn pcibios_penalize_isa_irq() into a weak function 2014-05-27 16:23:58 -06:00
pci-vdk.c PCI: Call pci_read_bridge_bases() from core instead of arch code 2015-07-23 10:13:29 -05:00