commit | 3514141aedc16c7344117d5bd79ec1310edf8fb3 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jun 18 19:20:51 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jun 26 14:37:25 2009 +1000 |
tree | cb5ec643b9e201f353fd764d22b9942324f85fd1 | |
parent | 850f6ac316cf84bba63fdb775c897834eccbfaa3 [diff] |
powerpc/pmac: Fix DMA ops for MacIO devices The macio_dev's created to map devices inside the MacIO ASICs don't have proper dma_ops. This causes crashes on some machines since the SCSI code calls dma_map_* on our behalf using the device we hang from. This fixes it by copying the parent PCI device dma_ops into the macio_dev when creating it. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>