powerpc/85xx: Add host-pci(e) bridge only for RC
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Mon, 23 May 2011 10:23:25 +0000 (15:53 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:31:09 +0000 (08:31 -0500)
commit08871c097ea5a11c95146ba8310272571d2bbfc4
tree7f01f76e7970abde1933e57aaac83b5deeec3aa8
parent3907ab26866006087c4d1e48e9d1306e281ec955
powerpc/85xx: Add host-pci(e) bridge only for RC

FSL PCIe controller can act as agent(EP) or host(RC).  Under Agent(EP) mode
the controller will be configured by the host system.  So its not required
to be registered with the PCI(e) sub-system. We only register the
controller if its configured in host(RC) mode.

Signed-off-by: Vivek Mahajan <vivek.mahajan@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c