From: Sergei Shtylyov <sshtylyov@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mpc83xx: fix pcie configuration space read/write
Date: Sun, 09 Jan 2011 15:49:20 +0300 [thread overview]
Message-ID: <4D29AED0.1080706@mvista.com> (raw)
In-Reply-To: <007e01cbae66$ae7017b0$6401a8c0@LENOVOE5CA6843>
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 Boy<liucai.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 {
> + pcie_index = i;
> mpc83xx_pcie_init_bus(i, reg[i]);
> + }
> }
WBR, Sergei
next prev parent reply other threads:[~2011-01-09 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 12:29 [U-Boot] [PATCH] mpc83xx: fix pcie configuration space read/write Baidu Boy
2011-01-09 12:49 ` Sergei Shtylyov [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-01-15 11:22 [U-Boot] [PATCH] mpc83xx:fix " Baidu Boy
2011-01-15 16:11 ` Sergei Shtylyov
2011-01-16 2:58 ` Baidu Boy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D29AED0.1080706@mvista.com \
--to=sshtylyov@mvista.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox