From: wiseker <wiseker@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: [HELP]: Question about MPC8321E PCI configuration
Date: Tue, 21 Oct 2008 22:09:23 +0800 [thread overview]
Message-ID: <3ec3b8250810210709g5fca6bbdtc9346cb6bc2c4979@mail.gmail.com> (raw)
Hello, every one.
Now I want to port MPC8321E PCI support to linux2.4.20 from
linux2.6.20. I have read the patch
http://www.mail-archive.com/linuxppc-embedded@ozlabs.org/msg13903.html,
but some problems also occured.
When the linux kernel PCI subsystem initialize, it can probe 2 PCI devices.
Found 00:00 [1957/00a6] 000b20 00
Found 00:50 [14e4/b624] 000280 00
The first is the powerpc CPU (class PCI_CLASS_PROCESSOR_POWERPC,
mpc8321e), and the second is BCM56624 chip. (In my opinion, the first
one should be PCI_CLASS_BRIDGE_HOST, is this correct?)
When the kernel assign resources to each device, a problem occured,
PCI: Failed to allocate resource 2(0-7fffffff) for 00:00.0
PCI: Failed to allocate resource 4(0-ffffffff) for 00:00.0
code: pcibios_assign_resources->pci_assign_resource
and the code ignores the host bridge device:
if (!class || class == PCI_CLASS_BRIDGE_HOST)
continue;
so it strength my idea that the device gives a wrong class (should be
PCI_CLASS_BRIDGE_HOST, not PCI_CLASS_PROCESSOR_POWERPC).
Can you tell me why this happen? Should I do some extra configurations?
Any ideas or suggestions is welcome, thank you!!!
--
wiseker
reply other threads:[~2008-10-21 14:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3ec3b8250810210709g5fca6bbdtc9346cb6bc2c4979@mail.gmail.com \
--to=wiseker@gmail.com \
--cc=linuxppc-embedded@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).