]> git.baikalelectronics.ru Git - kernel.git/commit
USB: xhci: Scratchpad buffer allocation
authorJohn Youn <johnyoun@synopsys.com>
Mon, 27 Jul 2009 19:05:03 +0000 (12:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jul 2009 21:31:13 +0000 (14:31 -0700)
commit159ed2d556fd761d2d884a4b35f13f1f8967e579
tree2556e997876bc3e02f49bad8feb2a269103a5440
parent17873c7211df1c92a6b995ccd0cae97fa0a58d28
USB: xhci: Scratchpad buffer allocation

Allocates and initializes the scratchpad buffer array (XHCI 4.20).  This is an
array of 64-bit DMA addresses to scratch pages that the controller may use
during operation.  The number of pages is specified in the "Max Scratchpad
Buffers" field of HCSPARAMS2.  The DMA address of this array is written into
slot 0 of the DCBAA.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.h