]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
usb ethernet gadget: use composite gadget framework
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 20 Jun 2008 01:20:11 +0000 (18:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:17 +0000 (15:16 -0700)
commit0391c828ce75cc71ae301946699a6f2d515fd99d
treec972cb6ce5a75221e046cfbd6b98a2d8abf5d8d1
parent19e2068015d4a66f62a0a19be2130d2948ba8024
usb ethernet gadget: use composite gadget framework

Building on the previous patches which took code from this driver and
pakaged it in more-reusable network "function" components, this patch
gets rid of the original code and uses those components instead.

As seen with the other gadget driver conversions, the resulting code
is much easier to understand and (presumably) work with.  In this case
that's especially true, since the Ethernet gadget had grown to handle
three (!) different Ethernet-over-USB protocols.  This modularization
should make it much easier to add a fourth option for the newish CDC
"Ethernet Emulation Model" (or EEM).

Lightly tested, primarily at full speed.

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