From: Jason Jin Date: Fri, 28 Oct 2011 08:08:00 +0000 (+0800) Subject: powerpc/fsl-pci: Don't hide resource for pci/e when configured as Agent/EP X-Git-Tag: v3.3-rc1~181^2~61^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05737c7c5bca9a4f3e0f8bb9476445971b64fafd;p=pandora-kernel.git powerpc/fsl-pci: Don't hide resource for pci/e when configured as Agent/EP Current pci/pcie init code will hide the pci/pcie host resource. But did not judge it is host/RC or agent/EP. If configured as agent/EP, we should avoid hiding its resource in the host side. In PCI system, the Programing Interface can be used to judge the host/agent status: Programing Interface = 0: host Programing Interface = 1: Agent In PCIE system, both the Programing Interface and Header type can be used to judge the RC/EP status. Header Type = 0: EP Header Type = 1: RC Signed-off-by: Jason Jin Signed-off-by: Mingkai Hu Signed-off-by: Jia Hongtao Signed-off-by: Li Yang Signed-off-by: Kumar Gala --- Reading git-diff-tree failed