]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
usb gadget: use new serial core
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 20 Jun 2008 00:52:07 +0000 (17:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:15:59 +0000 (15:15 -0700)
commita7707adf9ee8de3c5b67e3793b98888f551ad00d
tree431137e4c39202f6395f64893966e3bdfa1349d2
parentc1dca562be8ada614ef193aa246c6f8705bcd6b9
usb gadget: use new serial core

Teach "gadget serial" to use the new abstracted (and bugfixed) TTY glue,
and remove all the orignal tangled-up code.  Update the documentation
accordingly.  This is a net object code shrink and cleanup; it should
make it a lot easier to see how the TTY glue should accomodate updates
to the TTY layer, be bugfixed, etc.

Notable behavior changes include:  it can now support getty even when
there's no USB connection; it fits properly into the mdev/udev world;
and RX handling is better (throttling works, and low latency).

Configurations with scripts setting up the /dev/ttygserial device node
(with "experimental" major number) may want to change that to be a
symlink pointing to the /dev/ttyGS0 file, as a migration aid; else,
just switch entirely over to mdev/udev.

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