]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] 86xx: Workaround PCI_PRIMARY_BUS usage
authorKumar Gala <galak@kernel.crashing.org>
Tue, 26 Jun 2007 17:12:55 +0000 (12:12 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:24 +0000 (01:58 -0500)
commitd756d97b19cffb8d90b0003e98a839c2c41826a7
tree10135692a58501576e4fc0f999a60e85e9fde643
parentcb0c7f17b85e48fd124084adba82c6c37628caee
[POWERPC] 86xx: Workaround PCI_PRIMARY_BUS usage

The Freescale PCI-e controllers have an issue in that they use the
PCI_PRIMARY_BUS register in the virtual P2P bridge to determine which
bus number to match on when generating a type 0 config cycle.  The
issue is if we are renumbering bus numbers to match Linux we will try
setting the PCI_PRIMARY_BUS and will not know which bus number to use
for generating type 0 config cycles.  We surpress writing the register
in the P2P bridge and always keep it at zero.

In the future when proper PCI domain support is working we should be
able to remove this.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/pci.c
arch/powerpc/sysdev/indirect_pci.c
include/asm-ppc/pci-bridge.h