From: Miquel van Smoorenburg Date: Thu, 1 May 2008 23:06:39 +0000 (+0200) Subject: [SCSI] dpt_i2o: move from virt_to_bus/bus_to_virt to dma_alloc_coherent X-Git-Tag: v2.6.26-rc1~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67af2b060e027c84b8e48d77e00b2369d997c0d4;p=pandora-kernel.git [SCSI] dpt_i2o: move from virt_to_bus/bus_to_virt to dma_alloc_coherent Remove virt_to_bus/bus_to_virt code from dpt_i2o, and use dma_alloc_coherent() / dma_free_coherent(). This is in preparation of 64-bit support, dma_alloc_coherent() can allocate memory in the lower 32 bits of physical memory which is needed because the HBA only supports message blocks under 4GB This code is based in part on the unofficial adaptec 64-bit dpt_i2o driver update that I got from Mark Salyzyn at Adaptec. Signed-off-by: Miquel van Smoorenburg Acked-by: Mark Salyzyn Signed-off-by: James Bottomley --- Reading git-diff-tree failed