diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-06-19 18:20:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 15:16:17 -0700 |
commit | 0391c828ce75cc71ae301946699a6f2d515fd99d (patch) | |
tree | c972cb6ce5a75221e046cfbd6b98a2d8abf5d8d1 /drivers/usb/gadget/printer.c | |
parent | 19e2068015d4a66f62a0a19be2130d2948ba8024 (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/printer.c')
0 files changed, 0 insertions, 0 deletions