[POWERPC] Fix PCI indirect for big-endian cfg_addr
commit7659c038d3d0a635b5aeff04aed523d7b6c1dde8
authorKumar Gala <galak@kernel.crashing.org>
Wed, 25 Jul 2007 05:29:53 +0000 (25 00:29 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 25 Jul 2007 05:29:53 +0000 (25 00:29 -0500)
treed75e5abe82a97bb029dac6dec5c77dfdeeb8437e
parent0de085bb474f64e4fdb2f1ff3268590792648c7b
[POWERPC] Fix PCI indirect for big-endian cfg_addr

We didn't actually propogate the flag we pass into setup_indirect_pci()
to set indirect_type and thus were getting the wrong endianness if
PPC_INDIRECT_TYPE_BIG_ENDIAN was set.

Also, we need to or in additional flags rather than just doing a
direct assignment.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/indirect_pci.c