[POWERPC] Added indirect_type to handle variants of PCI ops
authorKumar Gala <galak@kernel.crashing.org>
Mon, 25 Jun 2007 20:19:48 +0000 (15:19 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:20 +0000 (01:58 -0500)
commitab0f9ad34d1eb31bb13cc4218d7717f8a85b12ed
treeaa4110045c5089ca0d498bdb32af29f3dfdf1d1a
parentdfac6faf8f42d5a9dd6919d7a2a41ef91eb77b4f
[POWERPC] Added indirect_type to handle variants of PCI ops

The generic PCI config ops indirect support for ppc32 covers only two
cases (implicit vs explicit) type 0/1 config cycles via set_cfg_type.
Added a indirect_type bit mask to handle other variants.

Added support for PCI-e extended registers and moved the cfg_type
handling into the bit mask for ARCH=powerpc.  We can also use this to
handle indirect quirks.

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