opnsense-src/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 Add new USB ID to U3G driver. 2018-01-19 13:06:36 +00:00
uark.c Annotate the usb-serial drivers which always return 0 for line status, 2016-07-27 00:08:01 +00:00
ubsa.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ubser.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uchcom.c uchcom: extend hardware support to version 0x30 2018-05-21 21:04:31 +00:00
ucycom.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ufoma.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uftdi.c Flag the first interface on a KTLINK FTDI-based jtag+uart device as being 2018-03-04 17:30:16 +00:00
uftdi_reg.h
ugensa.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uipaq.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ulpt.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
umcs.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
umcs.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
umct.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
umodem.c Make it possible (controlled via sysctl, enabled by default) to mark 2018-04-25 15:28:46 +00:00
umoscom.c Actually return line status register values from umoscom_cfg_get_status(). 2016-07-26 22:26:49 +00:00
uplcom.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
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 sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uvscom.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00