]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dma bounce buffer support
authorMagnus Damm <magnus.damm@gmail.com>
Wed, 23 Jan 2008 06:58:35 +0000 (15:58 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:05 +0000 (14:35 -0800)
commitb3476675320eda83cf061a686cdc80b76f2bfdc4
tree11d31a0ade5c961fd5738a67b99ccb411325607d
parent0915f490d81c1a5098b399ec6c0be45bd421ee1d
usb: dma bounce buffer support

usb: dma bounce buffer support V4

This patch adds dma bounce buffer support to the usb core. These buffers
can be enabled with the HCD_LOCAL_MEM flag, and they make sure that all data
passed to the host controller is allocated using dma_alloc_coherent().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/buffer.c
drivers/usb/core/hcd.c
drivers/usb/core/hcd.h