sparc32: Make IOMMU and IO-UNIT init work with device nodes.
authorDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2008 05:47:20 +0000 (22:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 09:13:11 +0000 (02:13 -0700)
commite003934876e75f96f1445565d8c9084c07943253
treeef44d634c4c1c98248bf3976a9ab0fa7231fd393
parent334ae614772b1147435dce9be3911f9040dff0d9
sparc32: Make IOMMU and IO-UNIT init work with device nodes.

And stick the iommu archdata pointer into the generic OF device tree
of_device struct as well.

We still have to pass the sbus_bus object down into the routines so
that the SBUS bus objects get the iommu cookies set properly.  After
drivers get converted to being pure OF drivers, that can go away.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/io-unit.h
arch/sparc/include/asm/iommu_32.h
arch/sparc/kernel/ioport.c
arch/sparc/mm/io-unit.c
arch/sparc/mm/iommu.c