]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Improve MPIC driver auto-configuration from DT
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:24:56 +0000 (17:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 05:08:41 +0000 (16:08 +1100)
commitef1d544dcc71e73f2d75af7c79d0e433d8584fd4
tree85bd54ccfe77a9508a6cf2763d296ff988b9764f
parentb28c78bca29398b7adab15d7d6ab443437a70e08
[POWERPC] Improve MPIC driver auto-configuration from DT

This patch applies on top of the MPIC DCR support. It makes the MPIC
driver capable of a lot more auto-configuration based on the device-tree,
for example, it can retreive it's own physical address if not passed as
an argument, find out if it's DCR or MMIO mapped, and set the BIG_ENDIAN
flag automatically in the presence of a "big-endian" property in the
device-tree node.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic.c
include/asm-powerpc/mpic.h