]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] usb gadget: ethernet/rndis updates
authorDavid Brownell <david-b@pacbell.net>
Tue, 19 Apr 2005 00:39:34 +0000 (17:39 -0700)
committerGreg K-H <gregkh@suse.de>
Tue, 19 Apr 2005 00:39:34 +0000 (17:39 -0700)
commit6cdee106e7571751ecc0e9f96606322f88b64a8d
treeedc75e42c3f3e9bbfecabc12a51b0f6d1bb37930
parent1bc3c9e1e44c2059fe2ffa6ff70ad0a925d7b05f
[PATCH] usb gadget: ethernet/rndis updates

Updates to the Ethernet/RNDIS gadget driver (mostly for RNDIS):

  - Fix brown-paper bag goof with RNDIS packet TX ... the wrong length
    field got set, so Windows would ignore data packets it received.

  - More consistent handling of CDC output filters (but not yet hooking
    things up so RNDIS uses the mechanism).

  - Zerocopy RX for RNDIS packets too (saving CPU cycles).

  - Use the pre-allocated interrupt/status request and buffer, rather
    than allocating and freeing one of each every few seconds (which
    could fail).

  - Some more "sparse" tweaks, making both dual-speed and single-speed
    configurations happier.

  - RNDIS speeds are reported in units of 100bps, not bps.

Plus two minor cleanups (whitespace, messaging).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ether.c
drivers/usb/gadget/rndis.c
drivers/usb/gadget/rndis.h