https://github.com/torvalds/linux
Revision 67af2b060e027c84b8e48d77e00b2369d997c0d4 authored by Miquel van Smoorenburg on 01 May 2008, 23:06:39 UTC, committed by James Bottomley on 02 May 2008, 18:15:26 UTC
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>
1 parent c864cb1
History
Tip revision: 67af2b060e027c84b8e48d77e00b2369d997c0d4 authored by Miquel van Smoorenburg on 01 May 2008, 23:06:39 UTC
[SCSI] dpt_i2o: move from virt_to_bus/bus_to_virt to dma_alloc_coherent
Tip revision: 67af2b0
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 659 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 96.3 KB
Makefile -rw-r--r-- 52.9 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top