]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usb ethernet gadget, minor fixes + basic OTG support
authorDavid Brownell <david-b@pacbell.net>
Wed, 14 Jul 2004 08:00:36 +0000 (01:00 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Jul 2004 08:00:36 +0000 (01:00 -0700)
commit755095707e4da46026fbefb2007281d4d73ef668
tree995e56fa047ae2183859833e603a6cd582d44937
parent0601da8690bf7e0837c98fcb8591adbeee4e3ad9
[PATCH] USB: usb ethernet gadget, minor fixes + basic OTG support

Update CDC Ethernet/RNDIS gadget driver to the latest:

    - Basics of OTG support: providing the OTG descriptor
in each configuration (as needed).   No HNP yet.

    - Stop issuing partial-packet reads.  There's some hardware that
only counts reads in packets, not bytes, so let's not bother.
There are still software checks to catch framing gone wild.

    - Fix a small bug that crept in with a memory leak fix: after
        RNDIS requests, ep0 responses would use the RNDIS completion
handler even for non-RNDIS requests.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/gadget/ether.c