diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-10-02 21:55:40 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:54:00 -0400 |
commit | b249c7fda2ca8efcbe37ace1e20a3fffac08bccb (patch) | |
tree | f27a32a00cc31c04cd8e1d6a8d7b2cb4aadf9203 /ipc | |
parent | 52c334e9450a15230b84ab4ef8ef7b034b37c371 (diff) | |
download | op-kernel-dev-b249c7fda2ca8efcbe37ace1e20a3fffac08bccb.zip op-kernel-dev-b249c7fda2ca8efcbe37ace1e20a3fffac08bccb.tar.gz |
[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 <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions