diff options
author | Guennadi Liakhovetski <[email protected]> | 2010-12-22 12:02:15 +0100 |
---|---|---|
committer | Chris Ball <[email protected]> | 2011-01-08 23:52:29 -0500 |
commit | 93173054f2979de41b1912b19f0b57edfb35fcdc (patch) | |
tree | 14c2872048dde7e15d386f1211836c86b1b6c69f /net/unix/sysctl_net_unix.c | |
parent | e0bc6ff8b8d5c066d978d23e690d5599db4cb2b3 (diff) |
mmc: tmio_mmc: implement a bounce buffer for unaligned DMA
For example, with SDIO WLAN cards, some transfers happen with buffers at
odd addresses, whereas the SH-Mobile DMA engine requires even addresses
for SDHI. This patch extends the tmio driver with a bounce buffer, that
is used for single entry scatter-gather lists both for sending and
receiving. If we ever encounter unaligned transfers with multi-element
sg lists, this patch will have to be extended. For now it just falls
back to PIO in this and other unsupported cases.
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions