linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [HELP]: Question about MPC8321E PCI configuration
@ 2008-10-21 14:09 wiseker
  0 siblings, 0 replies; only message in thread
From: wiseker @ 2008-10-21 14:09 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-21 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 14:09 [HELP]: Question about MPC8321E PCI configuration wiseker

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).