]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5765927831e3569dd916d8475c3a6be02cf4cd6c
treeef44d634c4c1c98248bf3976a9ab0fa7231fd393
parentc6ded078838fb2877405bf90e616d47679054671
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