]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: support new OF device tree format
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Oct 2006 15:26:20 +0000 (17:26 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Oct 2006 23:21:01 +0000 (09:21 +1000)
commit189157887ddee9be16c69c18b329cdabf286d826
tree82b60df9ed602d19bcaa70e728b2b8213e9d3172
parentb8d11ca615268e6bec659c22b407067e584fc892
[POWERPC] spufs: support new OF device tree format

The properties we used traditionally in the device tree are somewhat
nonstandard.  This adds support for a more conventional format using
'interrupts' and 'reg' properties.

The interrupts are specified in three cells (class 0, 1 and 2) and
registered at the interrupt-parent.

The reg property contains either three or four register areas in the
order 'local-store', 'problem', 'priv2', and 'priv1', so the priv1 one
can be left out in case of hypervisor driven systems that access these
through hcalls.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c