From: "Laurent Lagrange" <lagrange@fr.oleane.com>
To: <linuxppc-dev@ozlabs.org>
Subject: PCI configuration with multiple PCI controllers
Date: Tue, 29 Jan 2008 15:20:50 +0100 [thread overview]
Message-ID: <000501c86282$2a5ba9e0$a501a8c0@GEGE6600V> (raw)
Hello,
I have a MPC8641 based board. I try to use the two PCIe controllers. My
firmware configures (physically) the PCI buses as follow:
------------------+
MPC8641 PCIe 1 | bus 1 +--------------+
| --------------> | PCI device 0 |
BUS 0 | +--------------+
- - - - - - - - - +
MPC8641 PCIe 2 | bus 3 +--------------+
| --------------> | PCI device 1 |
BUS 2 | +--------------+
------------------+
I launch the Linux image (2.6.23.9). During the Kernel PCI configuration,
buses behind the 2nd MPC8641 PCIe are skipped because its primary bus don't
start at bus number 0. The kernel reconfigure the primary bus number of the
MPC8641 PCIe 2 controller from 2 to 0.
I can patch the kernel to work with my firmware but I don't know if my PCI
configuration is the good one.
What is the common way to configure the PCI for Linux when a new controller
is found: start the bus number to 0 or to the last bus number + 1?
Regards
next reply other threads:[~2008-01-29 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 14:20 Laurent Lagrange [this message]
2008-01-30 14:24 ` PCI configuration with multiple PCI controllers Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2008-01-30 8:37 Laurent Lagrange
2008-02-01 14:33 Laurent Lagrange
2008-02-01 14:43 ` Sergei Shtylyov
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='000501c86282$2a5ba9e0$a501a8c0@GEGE6600V' \
--to=lagrange@fr.oleane.com \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).