From: Minghuan Lian Date: Mon, 24 Sep 2012 05:50:52 +0000 (+0800) Subject: powerpc/fsl-pci: use 'Header Type' to identify PCIE mode X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59c58c324a81cfb08c490384a7c292b82609673a;p=pandora-kernel.git powerpc/fsl-pci: use 'Header Type' to identify PCIE mode The original code uses 'Programming Interface' field to judge if PCIE is EP or RC mode, however, some latest silicons do not support this functionality. According to PCIE specification, 'Header Type' offset 0x0e is used to indicate header type, so change code to use 'Header Type' field to judge PCIE mode. Because FSL PCI controller does not support 'Header Type', patch still uses 'Programming Interface' to identify PCI mode. Signed-off-by: Minghuan Lian Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- Reading git-diff-tree failed