linux/drivers/usb/serial
Johan Hovold 25d514ca22 USB: serial: re-implement multi-urb writes in generic driver
Use dynamic transfer buffer sizes since it is more efficient to let the
host controller do the partitioning to fit endpoint size. This way we
also do not use more than one urb per write request.

Replace max_in_flight_urbs with multi_urb_write flag in struct
usb_serial_driver to enable multi-urb writes.

Use MAX_TX_URBS=40 and a max buffer size of PAGE_SIZE to prevent DoS
attacks.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-20 13:21:35 -07:00
..
aircable.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ark3116.c USB: serial: refactor generic close 2010-05-20 13:21:33 -07:00
belkin_sa.c USB: serial: refactor generic close 2010-05-20 13:21:33 -07:00
belkin_sa.h belkin_sa: clean up code 2008-07-22 13:03:22 -07:00
bus.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ch341.c USB: serial: refactor generic close 2010-05-20 13:21:33 -07:00
ChangeLog.history trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
console.c usb-console: pass baud from console to the initial tty open 2010-05-20 13:21:32 -07:00
cp210x.c USB: cp210x: use generic submit_read_urb at open 2010-05-20 13:21:34 -07:00
cyberjack.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
cypress_m8.c Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
cypress_m8.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
digi_acceleport.c USB: remove references to port->port.count from the serial drivers 2010-03-02 14:55:12 -08:00
empeg.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
ezusb_convert.pl
ezusb.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ftdi_sio_ids.h USB: serial: ftdi: add CONTEC vendor and product id 2010-03-19 07:24:09 -07:00
ftdi_sio.c USB: ftdi_sio: switch to generic read implementation 2010-05-20 13:21:34 -07:00
ftdi_sio.h USB: ftdi_sio: correct spelling in header files 2010-03-02 14:54:35 -08:00
funsoft.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
garmin_gps.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
generic.c USB: serial: re-implement multi-urb writes in generic driver 2010-05-20 13:21:35 -07:00
hp4x.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_16654.h
io_edgeport.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
io_edgeport.h
io_ionsp.h
io_tables.h USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_ti.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
io_ti.h
io_usbvend.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
ipaq.c USB: serial: allow drivers to define bulk buffer sizes 2010-05-20 13:21:33 -07:00
ipaq.h
ipw.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
ir-usb.c USB: remove references to port->port.count from the serial drivers 2010-03-02 14:55:12 -08:00
iuu_phoenix.c USB: serial: allow drivers to define bulk buffer sizes 2010-05-20 13:21:33 -07:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
Kconfig USB Serial Driver: ZIO Motherboard 2010-05-20 13:21:32 -07:00
keyspan_pda.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-03-03 08:48:58 -08:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: remove references to port->port.count from the serial drivers 2010-03-02 14:55:12 -08:00
keyspan.h USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kl5kusb105.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
kl5kusb105.h
kobil_sct.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
kobil_sct.h
Makefile USB Serial Driver: ZIO Motherboard 2010-05-20 13:21:32 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: refactor generic close 2010-05-20 13:21:33 -07:00
mct_u232.h USB: serial mct_usb232: move DMA buffers to heap 2010-03-02 14:53:06 -08:00
mos7720.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
mos7840.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
moto_modem.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
navman.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
omninet.c USB: Convert concatenated __FILE__ to %s, __FILE__ 2010-03-02 14:54:59 -08:00
opticon.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
option.c USB: serial: option: add cinterion device id 2010-04-30 09:25:11 -07:00
oti6858.c USB: remove references to port->port.count from the serial drivers 2010-03-02 14:55:12 -08:00
oti6858.h
pl2303.c USB: pl2303: use generic close 2010-05-20 13:21:34 -07:00
pl2303.h USB: serial: pl2303: Hybrid reader Uniform HCR331 2010-04-30 09:25:10 -07:00
qcaux.c USB: qcaux: add LG Rumor and Sanyo Katana LX device IDs 2010-04-22 15:18:23 -07:00
qcserial.c USB: qcserial: add new device ids 2010-03-19 07:24:07 -07:00
safe_serial.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
siemens_mpi.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
sierra.c USB: Add id for HP ev2210 a.k.a Sierra MC5725 miniPCI-e Cell Modem. 2010-04-22 15:18:24 -07:00
spcp8x5.c USB: remove references to port->port.count from the serial drivers 2010-03-02 14:55:12 -08:00
symbolserial.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ti_usb_3410_5052.c USB: ti_usb: fix printk format warning 2010-04-30 09:25:11 -07:00
ti_usb_3410_5052.h USB: ti_usb_3410_5052: adding multitech dialup fax/modem devices 2010-04-22 15:18:20 -07:00
usb_debug.c USB: usb_debug: use the generic kfifo-based write implementation 2010-05-20 13:21:34 -07:00
usb-serial.c USB: serial: generalise generic read implementation 2010-05-20 13:21:34 -07:00
visor.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
visor.h USB: visor add ACER S10 palm device id 2007-08-22 14:27:43 -07:00
vivopay-serial.c USB: serial: Add support for ViVOtech ViVOpay devices. 2010-03-02 14:54:57 -08:00
whiteheat.c USB: tty: sort out the request_room handling for whiteheat 2010-03-02 14:55:09 -08:00
whiteheat.h whiteheat: coding style 2008-07-22 13:03:22 -07:00
zio.c USB Serial Driver: ZIO Motherboard 2010-05-20 13:21:32 -07:00