linux-kernel-test/drivers/usb/serial
Rainer Weikusat fdcba53e2d fix for bugzilla #7544 (keyspan USB-to-serial converter)
At least the Keyspan USA-19HS USB-to-serial converter supports
two different configurations, one where the input endpoints
have interrupt transfer type and one where they are bulk endpoints.
The default UHCI configuration uses the interrupt input endpoints.
The keyspan driver, OTOH, assumes that the device has only bulk
endpoints (all URBs are initialized by calling usb_fill_bulk_urb
in keyspan.c/ keyspan_setup_urb). This causes the interval field
of the input URBs to have a value of zero instead of one, which
'accidentally' worked with Linux at least up to 2.6.17.11 but
stopped to with 2.6.18, which changed the UHCI support code handling
URBs for interrupt endpoints. The patch below modifies to driver to
initialize its input URBs either as interrupt or as bulk URBs,
depending on the transfertype contained in the associated endpoint
descriptor (only tested with the default configuration) enabling
the driver to again receive data from the serial converter.

Greg K-H reworked the patch.

Signed-off-by: Rainer Weikusat <rweikusat@sncag.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-07 15:44:38 -08:00
..
aircable.c USB: Bugfix for aircable: Add module and name to usb_serial_driver 2007-02-07 15:44:34 -08:00
airprime.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ark3116.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
belkin_sa.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
belkin_sa.h
bus.c USB serial: add dynamic id support to usb-serial core 2007-02-07 15:44:33 -08:00
ChangeLog.history
console.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
cp2101.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
cyberjack.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
cypress_m8.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
cypress_m8.h
digi_acceleport.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
empeg.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ezusb_convert.pl
ezusb.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ftdi_sio.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ftdi_sio.h USB: ftdi_sio - MachX product ID added 2006-12-20 10:13:23 -08:00
funsoft.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
garmin_gps.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
generic.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
hp4x.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_16654.h
io_edgeport.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_edgeport.h USB: add EPIC support to the io_edgeport driver 2007-02-07 15:44:30 -08:00
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_ti.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_ti.h
io_usbvend.h USB: add EPIC support to the io_edgeport driver 2007-02-07 15:44:30 -08:00
ipaq.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ipaq.h
ipw.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ir-usb.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
Kconfig [PATCH] really fix funsoft driver 2007-01-11 18:18:21 -08:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
keyspan.c fix for bugzilla #7544 (keyspan USB-to-serial converter) 2007-02-07 15:44:38 -08:00
keyspan.h USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
kl5kusb105.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
kl5kusb105.h
kobil_sct.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
kobil_sct.h
Makefile USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
Makefile-keyspan_pda_fw
mct_u232.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
mct_u232.h
mos7720.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
mos7840.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
navman.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
omninet.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
option.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
pl2303.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
pl2303.h USB: Add vendor / product ID to pl2303 2006-09-28 15:36:42 -07:00
safe_serial.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
sierra.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
ti_usb_3410_5052.h usb-serial: ti_usb, TI ez430 development tool ID 2006-12-01 14:23:30 -08:00
usb_debug.c USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
usb-serial.c USB serial: add dynamic id support to usb-serial core 2007-02-07 15:44:33 -08:00
visor.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
visor.h
whiteheat_fw.h
whiteheat.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S