From: Matthew Wilcox Date: Wed, 3 Oct 2007 01:55:40 +0000 (-0400) Subject: [SCSI] advansys: Remove a couple of uses of bus_to_virt X-Git-Tag: v2.6.24-rc1~1290^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b249c7fda2ca8efcbe37ace1e20a3fffac08bccb;p=pandora-kernel.git [SCSI] advansys: Remove a couple of uses of bus_to_virt Replace ASC_VADDR_TO_U32 and ASC_U32_TO_VADDR with an auto-expanding array that maps pointers to 32-bit IDs and back. One of the uses of ASC_VADDR_TO_U32 was in error; it should have been using ADV_VADDR_TO_U32. Also replace the use of virt_to_bus when setting the sense_address with a call to dma_map_single() followed by dma_cache_sync. This part cribbed from the 53c700 driver. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed