freebsd-skq/sys/dev/usb
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
..
controller Improve fix in r304629 by allowing configuration of the behaviour 2018-04-30 07:30:37 +00:00
gadget sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
input Attempt to fix build by removing EOF backslash-newline 2018-05-16 03:17:37 +00:00
misc sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
net muge(4): chase r333813 if_addr_lock rwlock to epoch + mutex 2018-05-19 18:44:29 +00:00
quirk Add new USB quirk. 2018-02-13 08:13:20 +00:00
serial uchcom: extend hardware support to version 0x30 2018-05-21 21:04:31 +00:00
storage Add SPDX identifiers to linux_ptrace.c and cfumass.c. 2018-01-24 17:04:01 +00:00
template Add a somewhat ugly hack that makes OSX serial device node names 2018-05-21 17:33:52 +00:00
video
wlan ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
ufm_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uftdiio.h
uled_ioctl.h
usb_bus.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_busdma.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_busdma.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_cdc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_controller.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_core.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_core.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_debug.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_debug.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dev.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
usb_dev.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_device.c Make the handler routine for the hw.usb.template sysctl trigger the USB 2018-01-30 10:08:11 +00:00
usb_device.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dynamic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dynamic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_endian.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_error.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_freebsd_loader.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_freebsd.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_generic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_generic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_handle_request.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_hid.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_hub.c Revert redundant parts of r329440 after recent devmatch(8) changes. 2018-02-17 12:38:46 +00:00
usb_hub.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_if.m
usb_ioctl.h Add a "multifunction" device side USB template, which provides mass 2018-05-17 19:54:11 +00:00
usb_lookup.c Remove unused bus_autoconf section from usb.ko. 2018-02-17 14:44:03 +00:00
usb_mbuf.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_mbuf.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_msctest.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_msctest.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_parse.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_pci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_pf.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
usb_pf.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
usb_process.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_process.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_request.c Permit "(", ")", ":", and "/" in USB string descriptors. 2018-05-19 10:49:51 +00:00
usb_request.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_transfer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_transfer.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_util.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usbdevs usbdevs: add new Microchip USB-Ethernet device IDs 2018-05-11 13:09:21 +00:00
usbdi_util.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usbdi.h Correct the PNP information generated by the usb driver to match the 2018-02-17 06:57:17 +00:00
usbhid.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00