]> err.no Git - linux-2.6/commit
[ARM] Remove '__address' from scatterlist and convert to DMA API
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 4 Jan 2006 15:08:30 +0000 (15:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 4 Jan 2006 15:08:30 +0000 (15:08 +0000)
commit7cdad482974792419cfe4b0affca689170116f49
treef9ee204f8848274ffb3323f425ad039cf4807de6
parent333c9624b728a9e83b741ea75836aa114ec35272
[ARM] Remove '__address' from scatterlist and convert to DMA API

The old __address element in struct scatterlist remained from older
kernels because the ARM DMA emulation code made use of it.  Move
this field into struct dma_struct, and convert DMA emulation code
to setup a SG entry as required.

Also, convert DMA emulation code to use the new DMA API rather
than the PCI DMA API.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/dma-isa.c
arch/arm/kernel/dma.c
arch/arm/mach-rpc/dma.c
include/asm-arm/mach/dma.h
include/asm-arm/scatterlist.h