commit | 4a8df1507eaeefc9739e3762db606caa08edba98 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Fri Feb 08 16:37:04 2008 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Fri Feb 08 19:52:40 2008 +1100 |
tree | e46f928e8b93809a882a5d7bfc12fd890ff1ffa7 | |
parent | 0e0b47abb71a2c4aed5895c01f41827dbd8a981c [diff] |
[POWERPC] Fix potential cell IOMMU bug when switching back to default DMA ops If we get a 64-bit dma mask we switch to the fixed ops and call cell_dma_dev_setup(). If the driver then switches back to a 32-bit dma mask for any reason we don't call cell_dma_dev_setup() again, which has the potential to leave bogus data in dev->archdata.dma_data. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>