[PATCH 1/4] [POWERPC] 85xx: add board support for the TQM8548 modules

David Gibson david at gibson.dropbear.id.au
Thu Jun 5 21:00:31 EST 2008


On Thu, Jun 05, 2008 at 02:43:59AM -0500, Kumar Gala wrote:
>>>>>
>>>> I'm puzzled. Could someone point me to some real code where cell- 
>>>> index
>>>> is used as a pointer into some global data. Sorry for my ignorance.
>>>
>>> http://ozlabs.org/pipermail/linuxppc-dev/2008-June/057254.html
>>
>> Yep, I saw that it's used for I2C (and SPI). But "cell-index" is also
>> defined for network, serial and PCI nodes, which are also assigned via
>> aliases.
>
> Some of this is for the future.  There are other SoC registers (like on 
> 85xx in GUTS) that need index information.

Likewise for 4xx (where the 'cell-index' notation originated), the
index value is the number used throughout the user manual and
(thereby) in power control registers and the like.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list