From: Benjamin Herrenschmidt Date: Thu, 18 Jun 2009 19:20:51 +0000 (+0000) Subject: powerpc/pmac: Fix DMA ops for MacIO devices X-Git-Tag: v2.6.31-rc2~81^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3514141aedc16c7344117d5bd79ec1310edf8fb3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed