USB: Allow transfer_buffer with transfer_dma
authorTony Lindgren <tony@atomide.com>
Sun, 1 Apr 2007 01:15:43 +0000 (18:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:39 +0000 (13:28 -0700)
commit35d07fd58f47284adecf219d3b73e4ea197cf29f
treeccad5ae6102b257676806575d156895bb10ddcdf
parentebc3ac149bf3a20c235625f1c07e0f997b3e08ba
USB: Allow transfer_buffer with transfer_dma

Some host controller drivers may need a PIO fallback when a DMA channel
is temporarily unavailable.  This patch provides an address that such
drivers can use for PIO in those cases, and nulls that field out when
no such address is available (highmem) which should help usbmon.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c