diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2015-04-26 06:38:05 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2015-04-26 06:38:05 +0000 |
commit | 0452e4cee5827d166708a616560e2220aa8f473c (patch) | |
tree | 2480778173dcc05711597d713b4c5fd47db979f6 /sys/dev/usb/umct.h | |
parent | 2df5f780b6594296db775bbf10959de7627a5691 (diff) |
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) */ |