aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2010-01-19 07:24:55 +0000
committerPaul Mundt <[email protected]>2010-02-08 09:38:35 +0900
commitfc4618575f79eea062cdc51715040e40cd35b71c (patch)
tree86c3024f48db02b9f5e391d3f0a3aa787fa89375 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent6339204ecc2aa2067a99595522de0403f0854bb8 (diff)
sh: prepare the DMA driver for slave functionality
Slave DMA functionality uses scatter-gather arrays for data transfers, whereas memcpy just uses a single data buffer. This patch converts the current memcpy implementation in shdma.c to use scatter-gather, making it just a special case with one SG-element. This allows us to isolate descriptor list manipulations and locking into one function, thus reducing error chances. Signed-off-by: Guennadi Liakhovetski <[email protected]> Acked-by: Dan Williams <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions