[PATCH] powerpc: pseries: Use generic dma-window parsing function
authorJeremy Kerr <jk@ozlabs.org>
Thu, 18 May 2006 08:06:37 +0000 (18:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 May 2006 05:02:23 +0000 (15:02 +1000)
commit4c76e0bcdeac27b45d55955f073a97ff8452a42f
tree9a274ffdfb1159012c10b7367e8d09207fbd28d0
parentd4ad66faecc4dd9f3db14e0b013741a6f867b089
[PATCH] powerpc: pseries: Use generic dma-window parsing function

Change the pseries iommu init code to use the new of_parse_dma_window()
to parse the ibm,dma-window and ibm,my-dma-window properties of pci and
virtual device nodes.

Also, clean up vio_build_iommu_table() a little.

Tested on pseries, with both vio and pci devices.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vio.c
arch/powerpc/platforms/pseries/iommu.c