[POWERPC] Make endianess of cfg_addr for indirect pci ops runtime
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Jul 2007 21:07:35 +0000 (16:07 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 24 Jul 2007 03:29:09 +0000 (22:29 -0500)
commit2e56ff206b7c6c28b847ccdbe46ad69b3263ac32
tree636f8d31a2b6c19fe21b12c61f47dcd96d393871
parentd5269966e57484548bc5d38e117f161bf2f56ce9
[POWERPC] Make endianess of cfg_addr for indirect pci ops runtime

Make it so we do a runtime check to know if we need to write cfg_addr
as big or little endian.  This is needed if we want to allow 86xx support
to co-exist in the same kernel as other 6xx PPCs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 files changed:
arch/powerpc/Kconfig
arch/powerpc/platforms/82xx/mpc82xx_ads.c
arch/powerpc/platforms/83xx/pci.c
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/chrp/pci.c
arch/powerpc/platforms/embedded6xx/linkstation.c
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/grackle.c
arch/powerpc/sysdev/indirect_pci.c
arch/powerpc/sysdev/mv64x60_pci.c
include/asm-powerpc/pci-bridge.h