• Martin Fuzzey's avatar
    USB: usbtest - Add tests to ensure HCDs can accept byte aligned buffers. · 084fb206
    Martin Fuzzey authored
    Add a set of new tests similar to the existing ones but using
    transfer buffers at an "odd" address [ie offset of +1 from
    the buffer obtained by kmalloc() or usb_alloc_coherent()]
    
    The new tests are:
    #17 : bulk out (like #1) using kmalloc and DMA mapping by USB core.
    #18 : bulk in (like #2) using kmalloc and DMA mapping by USB core.
    #19 : bulk out (like #1) using usb_alloc_coherent()
    #20 : bulk in (like #2) using usb_alloc_coherent()
    #21 : control write (like #14)
    #22 : isochonous out (like #15)
    #23 : isochonous in (like #16)
    Signed-off-by: default avatarMartin Fuzzey <mfuzzey@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    084fb206
usbtest.c 61.8 KB