diff options
author | 2015-04-26 06:38:04 +0000 | |
---|---|---|
committer | 2015-04-26 06:38:04 +0000 | |
commit | d19a5360efa3c70d37fb9011fa8f8bc25680f90c (patch) | |
tree | 2af32b5ee1c10b04c2108b8758274c14d130bcac /sys/dev/usb/umct.h | |
parent | Require a PT_LOAD segment's p_filesz to be no larger than its p_memsz. (diff) | |
download | wireguard-openbsd-d19a5360efa3c70d37fb9011fa8f8bc25680f90c.tar.xz wireguard-openbsd-d19a5360efa3c70d37fb9011fa8f8bc25680f90c.zip |
Two extra messages required after sending a baud rate update, as observed
in the linux mct_u232 driver, which apparently got them by sniffing usb
traffic from the vendor's windows 98 driver. Makes this device work at
115200:
umct0 at uhub0 port 2 "Belkin Components F5U109 Serial" rev 1.10/1.02 addr 2
ok dlg@
Diffstat (limited to 'sys/dev/usb/umct.h')
-rw-r--r-- | sys/dev/usb/umct.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/usb/umct.h b/sys/dev/usb/umct.h index 0cc95e3628c..aac762d3ce7 100644 --- a/sys/dev/usb/umct.h +++ b/sys/dev/usb/umct.h @@ -1,4 +1,4 @@ -/* $OpenBSD: umct.h,v 1.4 2008/06/26 05:42:19 ray Exp $ */ +/* $OpenBSD: umct.h,v 1.5 2015/04/26 06:38:04 jmatthew Exp $ */ /* $NetBSD: umct.h,v 1.1 2001/03/28 18:42:13 ichiro Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -50,6 +50,12 @@ #define REQ_SET_MCR 10 /* Set Modem Control Register (MCR) */ #define LENGTH_SET_MCR 1 +#define REQ_UNKNOWN1 11 /* Unknown functionality */ +#define LENGTH_UNKNOWN1 1 + +#define REQ_SET_CTS 12 /* Apparently controls CTS */ +#define LENGTH_SET_CTS 1 + /* * Baud rate (divisor) */ |