diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-02-26 16:01:32 -0600 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-02-28 19:42:31 +0100 |
commit | 2ad6cdc20fbeea1e1744190c00cebb64e4b4c491 (patch) | |
tree | 05a1b482b1e8132c805c3f768426fdc48af5019c /drivers/block/Makefile | |
parent | dccc9b563e455b91f7247b1ca6b0face40323538 (diff) |
cciss: fix scatter gather chain block dma direction kludge
cciss: fix scatter gather chain block dma direction kludge
The data direction for the chained block of scatter gather
elements should always be PCI_DMA_TODEVICE, but was mistakenly
set to the direction of the data transfer, then a kludge to
fix it was added, in which pci_dma_sync_single_for_device or
pci_dma_sync_single_for_cpu was called. If the correct direction
is used in the first place, the kludge isn't needed.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/Makefile')
0 files changed, 0 insertions, 0 deletions