avg 94ea6109fb 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
..
2017-09-14 15:34:45 +00:00
2018-04-08 22:59:34 +00:00
2018-05-06 00:45:41 +00:00
2018-04-13 20:30:49 +00:00
2018-05-15 13:30:59 +00:00
2017-12-30 19:27:22 +00:00
2018-05-17 10:13:18 +00:00
2018-05-20 20:34:15 +00:00
2018-03-14 18:27:06 +00:00
2018-03-28 07:59:16 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2018-04-08 22:59:34 +00:00
2018-05-03 22:51:44 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2018-04-13 20:30:49 +00:00
2018-04-28 17:43:20 +00:00
2018-04-23 16:38:27 +00:00
2018-04-13 20:30:49 +00:00
2018-05-01 13:57:08 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00