android_kernel_xiaomi_sm8350/drivers/usb/serial
Martin Geleynse b760dac290 USB: ftdi: support NDI devices
It enhances the driver for FTDI-based USB serial adapters to recognize and
support Northern Digital Inc (NDI) measurement equipment. NDI has been
providing this patch for various kernel flavors for several years and we would
like to see these changes built in to the driver so that our equipement works
without the need for customers to patch the kernel themselves.

The patch makes small modifications to 2 files: ./drivers/usb/serial/ftdi_sio.c
and ./drivers/usb/serial/ftdi_sio.h. It accomplishes 3 things:

1. Define the VID and PIDs to allow the driver to recognize the NDI devices.
2. Map the 19200 baud rate setting to our higher baud rate of 1.2Mb
   We would have chosen to map 38400 to the higher rate, similar to what
   several other vendors have done, but some of our legacy customers actually
   use 38400, therefore we remap 19200 to the higher rate.
3. We set the default transmit latency in the FTDI chip to 1ms for our devices.
   Our devices are typically polled at 60Hz and the default ftdi latency
   seriously affects turn-around time and results in missed data frames. We
   have created a modprobe option that allows this setting to be increased.
   This has proven necessary particularly in some virtualized environments.

Signed-off-by: Martin P. Geleynse <mgeleyns@ndigital.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-12 15:16:39 -07:00
..
aircable.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
ark3116.c
belkin_sa.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
belkin_sa.h
bus.c USB: usb-serial: call port_probe and port_remove at the right times 2009-06-15 21:44:47 -07:00
ch341.c tty: Bring the usb tty port structure into more use 2009-06-11 08:50:56 -07:00
ChangeLog.history trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
console.c USB: console: Fix regression in usb console on kernel boot 2009-07-12 15:16:39 -07:00
cp210x.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
cyberjack.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
cypress_m8.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
cypress_m8.h
digi_acceleport.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
empeg.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
ezusb_convert.pl
ezusb.c
ftdi_sio.c USB: ftdi: support NDI devices 2009-07-12 15:16:39 -07:00
ftdi_sio.h USB: ftdi: support NDI devices 2009-07-12 15:16:39 -07:00
funsoft.c
garmin_gps.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
generic.c tty: Fix USB kref leak 2009-07-10 19:17:22 -07:00
hp4x.c
io_16654.h
io_edgeport.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
io_ti.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
io_ti.h
io_usbvend.h
ipaq.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
ipaq.h
ipw.c tty: Bring the usb tty port structure into more use 2009-06-11 08:50:56 -07:00
ir-usb.c tty: Bring the usb tty port structure into more use 2009-06-11 08:50:56 -07:00
iuu_phoenix.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
iuu_phoenix.h
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
keyspan_pda.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
keyspan.h USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
kl5kusb105.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
kl5kusb105.h
kobil_sct.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
kobil_sct.h
Makefile USB: serial: rename cp2101 driver to cp210x 2009-03-24 16:20:44 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
mct_u232.h
mos7720.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
mos7840.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
moto_modem.c USB device codes for Motorola phone. 2009-04-17 10:50:26 -07:00
navman.c tty: Bring the usb tty port structure into more use 2009-06-11 08:50:56 -07:00
omninet.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
opticon.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
option.c USB: option: add Novatel Ovation MC760 2009-07-12 15:16:38 -07:00
oti6858.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
oti6858.h
pl2303.c USB: pl2303: New vendor and product id for the prolific driver 2009-07-12 15:16:35 -07:00
pl2303.h USB: pl2303: New vendor and product id for the prolific driver 2009-07-12 15:16:35 -07:00
qcserial.c USB: qcserial: Add extra device IDs 2009-04-17 10:50:24 -07:00
safe_serial.c
siemens_mpi.c USB: add siemens_mpi usb-serial "stub" driver 2009-01-07 10:00:13 -08:00
sierra.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
spcp8x5.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
symbolserial.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
ti_usb_3410_5052.c USB: fix uninitialised variable in ti_do_download 2009-07-12 15:16:38 -07:00
ti_usb_3410_5052.h USB: two more usb ids for ti_usb_3410_5052 2009-02-09 11:19:48 -08:00
usb_debug.c USB: serial: usb_debug,usb_generic_serial: implement sysrq and serial break 2009-06-15 21:44:45 -07:00
usb-serial.c USB: console: Fix regression in usb console on kernel boot 2009-07-12 15:16:39 -07:00
visor.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
visor.h
whiteheat.c USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
whiteheat.h