freebsd-nq/sys/dev/usb/serial
Andriy Gapon a23a4e68fa uchcom: extend hardware support to version 0x30
This change adds support for a UBS<->RS232 adapter based on CH340 (or an
analogue) that I own.  The device seems to have a newer internal version
(0x30) and the existing code incorrectly configures line control for it
resulting in garbled transmission.  The changes are based on what I
learned in Linux drivers for the same hardware.

Additional changes:
- use UCHCOM_REG_LCR1 / UCHCOM_REG_LCR2 instead of explicit 0x18 and
  0x25
- use NULL instead of 0 where a pointer is expected

Reviewed by:	hselasky
MFC after:	3 weeks
Differential Revision: https://reviews.freebsd.org/D15498
2018-05-21 21:04:31 +00:00
..
u3g.c
uark.c
ubsa.c
ubser.c
uchcom.c uchcom: extend hardware support to version 0x30 2018-05-21 21:04:31 +00:00
ucycom.c
ufoma.c
uftdi_reg.h
uftdi.c
ugensa.c
uipaq.c
ulpt.c
umcs.c
umcs.h
umct.c
umodem.c Make it possible (controlled via sysctl, enabled by default) to mark 2018-04-25 15:28:46 +00:00
umoscom.c
uplcom.c
usb_serial.c Make it possible (controlled via sysctl, enabled by default) to mark 2018-04-25 15:28:46 +00:00
usb_serial.h Make it possible (controlled via sysctl, enabled by default) to mark 2018-04-25 15:28:46 +00:00
uslcom.c uslcom: Both CP2104 and CP2105 can support up to 2Mbps baudrate 2018-04-24 19:11:05 +00:00
uvisor.c
uvscom.c