]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Add DMA ops support for of_platform_device to Cell
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:04 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:42 +0000 (20:38 +1100)
commit5751b9ba2e080880ed179be5b99b94c11f72e2aa
tree69a2a58dcce8d4639a9b8027e32a82deb6035ca6
parent44f65d890c2cfb4433c1ca9895a9b26ce50885ba
[POWERPC] Add DMA ops support for of_platform_device to Cell

This patch adds a bus device notifier to the of_platform bus type on
cell to setup the DMA operations for of_platform_devices. We currently
use the PCI operations as Cell use a special version of them that
happens to be suitable for our needs.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/setup.c