[POWERPC] FSL: Cleanup how we detect if we are a PCIe controller
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jul 2007 18:31:58 +0000 (13:31 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 23 Jul 2007 15:27:07 +0000 (10:27 -0500)
commit957ecffc2527ebd414c6e35b65f0f744739b012d
tree19ebce098f00688ae411603fc35effe792d1b769
parent62c66c8e55fae40d93d8f79d60e2ed50379e46f9
[POWERPC] FSL: Cleanup how we detect if we are a PCIe controller

Use the PCI capabilities to determine if we are PCIe PHB.  Also use
PPC_INDIRECT_TYPE_NO_PCIE_LINK since the Freescale PCIe controllers
will lock the system if they don't have link and you try to do a config
access to anything but the PHB.

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