diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-12-11 17:37:06 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-11 17:37:06 +0100 |
commit | 5369bea7d7db1d95f63907f3470e23d32930be98 (patch) | |
tree | b4d9fdf93c10a3f630f26ccad66437e2209ce102 /arch/arm/mach-rpc | |
parent | [ARM] dma: pata_icside's contiguous sg array is now redundant (diff) | |
download | linux-5369bea7d7db1d95f63907f3470e23d32930be98.tar.xz linux-5369bea7d7db1d95f63907f3470e23d32930be98.zip |
[ARM] dma: Use sensible DMA parameters for Acorn drivers
The hardware supports transfers up to a page boundary per buffer.
Currently, we work around that in the DMA code by splitting each
buffer up as we run through the scatterlist. Avoid this by telling
the block layers about the hardware restriction.
Eventually, this will allow us to phase out the splitting code,
but not until the old IDE layer allows us to control the value it
gives to blk_queue_segment_boundary().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc')
-rw-r--r-- | arch/arm/mach-rpc/include/mach/isa-dma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rpc/include/mach/isa-dma.h b/arch/arm/mach-rpc/include/mach/isa-dma.h index bad720548587..67bfc6719c34 100644 --- a/arch/arm/mach-rpc/include/mach/isa-dma.h +++ b/arch/arm/mach-rpc/include/mach/isa-dma.h @@ -23,5 +23,7 @@ #define DMA_FLOPPY DMA_VIRTUAL_FLOPPY +#define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1) + #endif /* _ASM_ARCH_DMA_H */ |