summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/storage_common.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-11-09 13:35:23 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:55:22 -0800
commit6648f29d3be2972a74ef8e29aa5d425ab4f1fc48 (patch)
tree019ca7fd4b73772952f570ef2a5dec67c5eabeaa /drivers/usb/gadget/storage_common.c
parent7f4e985448e82fe4a1cc0ae4fcecaf7e0301c07b (diff)
USB: xhci: Add tests for TRB address translation.
It's not surprising that the transfer request buffer (TRB) physical to virtual address translation function has bugs in it, since I wrote most of it at 4am last October. Add a test suite to check the TRB math. This runs at memory initialization time, and causes the driver to fail to load if the TRB math fails. Please excuse the excessively long lines in the test vectors; they can't really be made shorter and still be readable. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/storage_common.c')
0 files changed, 0 insertions, 0 deletions