[PATCH 2/5] Add uli1575 pci-bridge sector to MPC8641HPCN dts file.

Segher Boessenkool segher at kernel.crashing.org
Wed May 30 20:18:02 EST 2007


>>> +			uli1575: uli1575 at 100 {
>>
>> is this the right address?
>
> '@100' of here, I make up  the address by get from bus 1, device 0,
> function 0.
> Such as below '@200' means bus 2, device 0, function0.

That is not how PCI unit addresses are encoded.  There are
two forms: bla at D and bla at D,F where D and F are device# and
function# respectively.  The bus# is implicit from the
parent node.

You have the "reg" property wrong, too (but differently).


Segher




More information about the Linuxppc-dev mailing list