aboutsummaryrefslogtreecommitdiff
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-03-14 16:47:39 +1100
committerPaul Mackerras <paulus@samba.org>2008-03-20 10:15:10 +1100
commit3a4295d101d9654ca909b64c786f9da6ca1bf37a (patch)
tree25bec42d4e6d98f8b5dd3fec0b431ec51958afbb /include/asm-parisc
parenta72a6f53ddb95723960bb64c011457e9739941d7 (diff)
[POWERPC] Fix cell IOMMU code to cope with empty dma-ranges and non-PCI devices
The cell IOMMU code to parse the dma-ranges properties, used for the fixed mapping, was broken in two ways for some devices. Firstly it didn't cope with empty dma-ranges properties. An empty property implies no translation so can be safely skipped. The code also wrongly assumed it would be looking at PCI devices, and hard coded the number of address and size cells. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-parisc')
0 files changed, 0 insertions, 0 deletions