remarkable-linux/drivers/usb/serial
Gernot Hillier cc175ce2c0 USB: serial: option.c: Add blacklisting infrastructure for special device handling
As suggested by Matthias Urlichs, this patch adds a somehow generic
mechanism for special handling of devices which don't support all bits
expected by this driver.

The blacklisting code is heavily stolen from sierra.c, but extended to
support different special cases.

For now, one case is implemented (OPTION_BLACKLIST_SENDSETUP), targeted
at the 4G W14 device: devices which don't understand the setting of
RTS/DTR in option_send_setup() causing a USB timeout of 5 s in any
userspace open() which leads to errors in most userspace applications.

In addition, I prepared another case for devices with interfaces which
shall not be accessed by this driver (targeted at the D-Link DWM 652).

However, OPTION_BLACKLIST_RESERVED_IF is not fully implemented yet as I
have no device to test this. Anyone volunteering to help here?  If not,
I'll contact the guys who added D-Link DWM 652 support soon.

Signed-off-by: Gernot Hillier <gernot@hillier.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-02 14:54:21 -08:00
..
aircable.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ark3116.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
belkin_sa.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
belkin_sa.h
bus.c
ch341.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ChangeLog.history
console.c USB serial: update the console driver 2009-09-19 13:13:42 -07:00
cp210x.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
cyberjack.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
cypress_m8.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
cypress_m8.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
digi_acceleport.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
empeg.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ezusb.c
ezusb_convert.pl
ftdi_sio.c USB: ftdi_sio: remove unnecessary initialisations 2010-03-02 14:53:39 -08:00
ftdi_sio.h USB: ftdi_sio: isolate all device IDs to new ftdi_sio_ids.h header 2009-12-23 11:34:12 -08:00
ftdi_sio_ids.h USB: ftdi_sio: add device IDs (several ELV, one Mindstorms NXT) 2010-02-16 15:11:03 -08:00
funsoft.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
garmin_gps.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
generic.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08: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: serial: fix DMA buffers on stack for io_edgeport.c 2010-03-02 14:53:59 -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 serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_ti.h
io_usbvend.h
ipaq.c USB: ipaq: fix oops when device is plugged in 2009-10-09 13:52:07 -07:00
ipaq.h
ipw.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ir-usb.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
iuu_phoenix.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
iuu_phoenix.h
Kconfig
keyspan.c tty: USB does not need the filp argument in the drivers 2009-09-19 13:13:26 -07:00
keyspan.h USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
keyspan_pda.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kl5kusb105.h
kobil_sct.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
mct_u232.h USB: serial mct_usb232: move DMA buffers to heap 2010-03-02 14:53:06 -08:00
mos7720.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
mos7840.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
moto_modem.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
navman.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
omninet.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
opticon.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
option.c USB: serial: option.c: Add blacklisting infrastructure for special device handling 2010-03-02 14:54:21 -08:00
oti6858.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
oti6858.h
pl2303.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
pl2303.h USB: serial: pl2303: new hardware support - sanwa multimeter 2009-09-23 06:46:15 -07:00
qcserial.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
safe_serial.c
siemens_mpi.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
sierra.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
spcp8x5.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
symbolserial.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
ti_usb_3410_5052.c tty: USB does not need the filp argument in the drivers 2009-09-19 13:13:26 -07:00
ti_usb_3410_5052.h
usb-serial.c USB: serial: fix typo in debug message 2010-03-02 14:53:03 -08:00
usb_debug.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
visor.c USB: visor: fix DMA buffers on stack 2010-03-02 14:53:57 -08:00
visor.h
whiteheat.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
whiteheat.h