]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] 86xx: Created quirk_fsl_pcie_transparent() to initialize bridge resources.
authorZhang Wei <wei.zhang@freescale.com>
Tue, 26 Jun 2007 23:22:40 +0000 (18:22 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:30 +0000 (01:58 -0500)
commit0d13f1af2bf2de39b0097be99bb002064400ced2
tree21030a3febbc52db4c846c1b1be188a851fc6233
parent10fae5592340951d1907ff4bc4111ea44722e254
[POWERPC] 86xx: Created quirk_fsl_pcie_transparent() to initialize bridge resources.

The Freescale PCI-e RC poses as a transparent bridge, but does not
implement the IO_BASE or IO_LIMIT registers in the config space.  This
means that the code which initializes the bridge resources ends up
setting the IO resources erroneously.  Add quick_fsl_pcie_transparent()
to handle this.

This change sets RC of mpc8641 to be a transparent bridge
for legacy I/O access and initializes the RC bridge resources
from the device tree.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/pci.c