linux_dsm_epyc7002/drivers/usb/serial
Frank Schäfer 7d26a78f62 USB: pl2303: distinguish between original and cloned HX chips
According to Prolific, several (unauthorized) cheap and less functional
clones of the PL2303HX chip are in circulation. [1]
I've had the chance to test such a cloned device and it turned out that
it doesn't support any baud rates above 115200 baud (original: 6 Mbaud)
It also doesn't support the divisior based baud rate encoding method,
so no continuous baud rate adjustment is possible.
Nevertheless, these devices have been working (unintentionally) with
the driver up to commit 61fa8d694b ("pl2303: also use the divisor based
baud rate encoding method for baud rates < 115200 with HX chips"), and
this commit broke support for them.
Fortunately, it is pretty simple to distinguish between the original
and the cloned HX chips, so I've added a check and an extra chip type
to keep the clones working.
The same check is used by the latest Prolific Windows driver, so it
should be solid.

[1] http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-17 09:36:10 -07:00
..
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c Driver core patches for 3.12-rc1 2013-09-03 11:37:15 -07:00
ch341.c
console.c
cp210x.c
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
f81232.c
ftdi_sio_ids.h
ftdi_sio.c USB: serial: clean up attribute permissions 2013-08-25 15:12:03 -07:00
ftdi_sio.h
garmin_gps.c
generic.c
io_16654.h
io_edgeport.c
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: clean up attribute permissions 2013-08-25 15:12:03 -07:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: clean up attribute permissions 2013-08-25 15:12:03 -07:00
iuu_phoenix.h
Kconfig USB: fix typo in usb serial simple driver Kconfig 2013-09-17 09:36:10 -07:00
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c Merge 3.11-rc6 into usb-next 2013-08-18 20:33:01 -07:00
keyspan.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c USB: mos7720: fix big-endian control requests 2013-08-19 17:02:11 -07:00
mos7840.c Merge 3.11-rc6 into usb-next 2013-08-18 20:33:01 -07:00
navman.c
omninet.c
opticon.c
option.c
oti6858.c
oti6858.h
pl2303.c USB: pl2303: distinguish between original and cloned HX chips 2013-09-17 09:36:10 -07:00
pl2303.h
qcaux.c
qcserial.c
quatech2.c USB: quatech2: fix port DMA-buffer allocations 2013-08-14 13:51:02 -07:00
safe_serial.c
sierra.c
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c Merge 3.11-rc6 into usb-next 2013-08-18 20:33:01 -07:00
ti_usb_3410_5052.h
usb_debug.c
usb_wwan.c USB-Serial: Fix error handling of usb_wwan 2013-08-12 13:45:26 -07:00
usb-serial-simple.c USB: serial: fix stringify operator in usb-serial-simple 2013-08-18 13:11:06 -07:00
usb-serial.c
usb-wwan.h
visor.c
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c
zte_ev.c