• David Brownell's avatar
    [PATCH] USB: usb gadget serial driver v2.0 · 00c7a55d
    David Brownell authored
    This patch updates the serial gadget driver:
    
     - The bulk is Al Borcher's version 2.0 updates:
    
         * Use the new utilities to build config descriptors from tables.
    
         * Add CDC ACM support, which brings lots of goodness including
           interop with Windows.
    
         * Work better given PXA 25x hardware automagic.
    
     - I have a few minor tweaks.
    
         * Match the recent tty API change:  from_user is gone!!
    
         * Define new product ID for the CDC ACM version, so Windows
           registry won't get confused by the non-ACM version.
    
         * Add OTG descriptor
    
         * Allocates packet buffers more efficiently on platforms like
           OMAP: use kmalloc not the dma-coherent allocator.
    
    Al has some docs on how to talk to Windows this, including an INF file.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    00c7a55d
serial.c 62.3 KB