pci-x

Carlos Mitidieri carlos.mitidieri at sysgo.com
Wed Mar 29 01:51:52 EST 2006


> On Friday 24 March 2006 15:53, Kumar Gala wrote:
> > That seems like a driver problem.  Does lspci show your devices after
> > you boot?  Also, what kernel ver are you using?
>
> No, the device behind the bridge is not recognized, although the bridge
> itself is. I am using kernel 2.6.15.

I am trying to use a PCI-X bridge (Intel 31154) on a mpc8540ads running kernel 
2.6.15.  A USB controller is behind the bridge. 

When the mpc8540ads is booted with the PCI-X switch disabled, the device 
behind the bridge is detected (and actually works), and the following 
messages are printed:

PCI: bridge rsrc 0..ffffff (100), parent c01ce78c
PCI: bridge rsrc 80000000..9fffffff (200), parent c01ce770
PCI: bridge rsrc fff000..ffffff (101), parent c0217038
PCI: bridge rsrc 9ff00000..9fffffff (200), parent c0217054
PCI: bridge rsrc 9fe00000..9fefffff (1201), parent c0217054
PCI:0000:01:06.0: Resource 0: 9ffff000-9fffffff (f=200)
PCI:0000:01:06.0: Resource 1: 9ffe0000-9ffeffff (f=1208)
PCI:0000:01:06.0: Resource 2: 9ffd0000-9ffdffff (f=200)
 
The last three lines are for the usb controller.
On the other hand, if the PCI-X is enabled, the usb controller is not detected 
anymore and the messages become:

PCI: bridge rsrc 0..ffffff (100), parent c01ce78c
PCI: bridge rsrc 80000000..9fffffff (200), parent c01ce770
PCI: bridge rsrc 0..fff (101), parent c0217038
PCI: bridge rsrc 0..fffff (200), parent c0217054
PCI: Cannot allocate resource region 1 of PCI bridge 1
PCI: bridge 1 resource 1 moved to 9ff00000..9fffffff
PCI: bridge rsrc 0..fffff (1201), parent c0217054
PCI: Cannot allocate resource region 2 of PCI bridge 1
PCI: bridge 1 resource 2 moved to 9fe00000..9fefffff

In the 3rd and 4th lines, the resource addresses are different for the two 
runs.  What could be the reason?

-- 
Carlos Mitidieri
SYSGO AG - Office Ulm




More information about the Linuxppc-embedded mailing list