]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commiteb3ec57cf45cbf74ca808486b7ba640897bfbf28
tree260e01e5cbd46d335a3d44b60c34dee51e053774
parent026d609e0544331edb3bfd402aaea33cd7c29936
[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]