kernel-fxtec-pro1x/include/linux/usb
Jason Wessel 715b1dc01f USB: usb_debug, usb_generic_serial: implement multi urb write
The usb_debug driver, when used as the console, will always fail to
insert the carriage return and new line sequence as well as randomly
drop console output.  This is a result of only having the single
write_urb and that the tty layer will have a lock that prevents the
processing of the back to back urb requests.

The solution is to allow more than one urb to be outstanding and have
a slightly deeper transmit queue.  The idea and some code is borrowed
from the ftdi_sio usb driver.

The generic usb serial driver was modified so as to allow the classic
method of 1 write urb, or a multi write urb scheme with N allowed
outstanding urbs where N is controlled by max_in_flight_urbs.  When
max_in_flight_urbs in a "struct usb_serial_driver" is non zero the
multi write urb scheme will be used.

The size of 4000 was selected for the usb_debug driver so that the
driver lowers possibility of losing the queued console messages during
the kernel startup.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-06-15 21:44:45 -07:00
..
association.h USB: wusb: annotate association types withe proper endianness 2009-01-07 09:59:51 -08:00
atmel_usba_udc.h
audio.h
c67x00.h
cdc.h usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
ch9.h USB: pedantic: spelling correction in comment for ch9.h 2009-03-24 16:20:44 -07:00
composite.h USB: composite.h: mark private struct members as private: 2009-06-15 21:44:44 -07:00
ehci_def.h
g_printer.h
gadget.h USB: gpio_vbus: add delayed vbus_session calls 2009-03-24 16:20:26 -07:00
gadgetfs.h headers_check fix: usb/gadgetfs.h 2009-01-30 23:37:37 +05:30
gpio_vbus.h USB: otg: gpio_vbus transceiver stub 2009-01-07 10:00:02 -08:00
input.h
iowarrior.h
irda.h
isp116x.h
Kbuild usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
midi.h
musb.h USB: musb: Prevent multiple includes of musb.h 2009-04-23 14:15:28 -07:00
net2280.h
otg.h USB: nop-usb-xceiv: behave when linked as a module 2009-06-15 21:44:40 -07:00
quirks.h USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
rndis_host.h rndis: remove private wrapper of __constant_cpu_to_le32 2009-02-14 22:56:56 -08:00
serial.h USB: usb_debug, usb_generic_serial: implement multi urb write 2009-06-15 21:44:45 -07:00
sl811.h
tmc.h
usbnet.h export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether.c 2009-04-21 01:55:59 -07:00
vstusb.h usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
wusb-wa.h wusb: do a proper channel stop 2008-10-28 12:08:46 +00:00
wusb.h trivial: wusb: Storage class should be before const qualifier 2009-03-30 15:22:03 +02:00