[POWERPC] Generic DCR infrastructure
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:24:53 +0000 (17:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 05:08:25 +0000 (16:08 +1100)
commit4c75a6f441cdd1c69a6c173bc7944e12c2ba6f84
tree260e01e5cbd46d335a3d44b60c34dee51e053774
parent69108cf00679716bcab58acb3135390654c5bb99
[POWERPC] Generic DCR infrastructure

This patch adds new dcr_map/dcr_read/dcr_write accessors for DCRs that
can be used by drivers to transparently address either native DCRs or
memory mapped DCRs. The implementation for memory mapped DCRs is done
after the binding being currently worked on for SLOF and the Axon
chipset. This patch enables it for the cell native platform

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/Makefile
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/dcr-low.S [new file with mode: 0644]
arch/powerpc/sysdev/dcr.c [new file with mode: 0644]
arch/ppc/Kconfig
include/asm-powerpc/dcr-mmio.h [new file with mode: 0644]
include/asm-powerpc/dcr-native.h [new file with mode: 0644]
include/asm-powerpc/dcr.h [new file with mode: 0644]