diff options
author | 2012-03-05 17:49:32 +0800 | |
---|---|---|
committer | 2012-03-12 16:50:24 -0700 | |
commit | 3b72fca09d7aed0c1a390370eb3f3f4f0480702a (patch) | |
tree | 3e1de71e220ed585fd85b1b2002652c96c760b04 /mm/page_alloc.c | |
parent | usb: host: xhci: use __ffs() instead of hardcoding shift (diff) | |
download | linux-dev-3b72fca09d7aed0c1a390370eb3f3f4f0480702a.tar.xz linux-dev-3b72fca09d7aed0c1a390370eb3f3f4f0480702a.zip |
xHCI: store ring's type
When allocate a ring, store its type - four transfer types for endpoint,
TYPE_STREAM for stream transfer, and TYPE_COMMAND/TYPE_EVENT for xHCI host.
This helps to get rid of three bool function parameters: link_trbs, isoc
and consumer.
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Paul Zimmerman <Paul.Zimmerman@synopsys.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions