diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-06-20 03:18:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:16:06 +0200 |
commit | 4d5a73dc39c1e1d8ba5feec5c6234ae920c59161 (patch) | |
tree | 266b131a87231e5905f4ee4d974e9a47467595b1 /drivers/usb/gadget/f_serial.c | |
parent | usb gadget zero: use composite gadget framework (diff) | |
download | linux-4d5a73dc39c1e1d8ba5feec5c6234ae920c59161.tar.xz linux-4d5a73dc39c1e1d8ba5feec5c6234ae920c59161.zip |
usb gadget serial: split out CDC ACM function
Split out CDC ACM parts of "gadget serial" to a "function driver".
Some key structural differences from the previous ACM support, shared
with with the generic serial function (next patch):
- As a function driver, it can be combined with other functions.
One gadget configuration could offer both serial and network
links, as an example.
- One serial port can be exposed in multiple configurations;
the /dev/ttyGS0 node could be exposed regardless of which
config the host selected.
- One configuration can expose multiple serial ports, such as
ttyGS0, ttyGS1, ttyGS2, and ttyGS3.
This code should be a lot easier to understand than the previous
all-in-one-big-file version of the driver.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/f_serial.c')
0 files changed, 0 insertions, 0 deletions