
9 Jan
2011
9 Jan
'11
1:49 p.m.
Hello.
On 07-01-2011 15:29, Baidu Boy wrote:
This patch fix a problem for the pcie enumeration when the mpc83xx pcie controller is connected with switch or we use both of the two pcie controller.
Signed-off-by: Baidu Boyliucai.lfn@gmail.com
arch/powerpc/cpu/mpc83xx/pcie.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c index 46a706d..2a200b8 100644 --- a/arch/powerpc/cpu/mpc83xx/pcie.c +++ b/arch/powerpc/cpu/mpc83xx/pcie.c
[...]
@@ -324,6 +326,8 @@ void mpc83xx_pcie_init(int num_buses, struct pci_region **reg) num_buses = ARRAY_SIZE(mpc83xx_pcie_cfg_space); }
- for (i = 0; i< num_buses; i++)
- for (i = 0; i< num_buses; i++){
There should be space between ) and {
mpc83xx_pcie_init_bus(i, reg[i]);pcie_index = i;
- } }
WBR, Sergei