summaryrefslogtreecommitdiff
path: root/drivers/scsi/dpt/dpti_ioctl.h
diff options
context:
space:
mode:
authorMiquel van Smoorenburg <miquels@cistron.nl>2008-05-02 03:06:39 +0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-05-02 22:15:26 +0400
commit67af2b060e027c84b8e48d77e00b2369d997c0d4 (patch)
tree0d56ebdd995415c574bd574c9434da1e8931e104 /drivers/scsi/dpt/dpti_ioctl.h
parentc864cb145dc2218cfad9fe53d323b54b48dbab6c (diff)
downloadlinux-67af2b060e027c84b8e48d77e00b2369d997c0d4.tar.xz
[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 <miquels@cistron.nl> Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/dpt/dpti_ioctl.h')
0 files changed, 0 insertions, 0 deletions