summaryrefslogtreecommitdiff
path: root/sys/dev/ic/comvar.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-15 21:09:18 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-15 21:09:18 +0000
commit952b2ae7f18b83ee30cdcb1fefa4577d4c8d3d95 (patch)
tree5012c1fe30004e73c47f8fab9ed222dcb49407de /sys/dev/ic/comvar.h
parentff044680f48b540d0252ba3c0cd76bddf8d915fe (diff)
Put back new timeouts. This time with correct timeout for compoll.
Diffstat (limited to 'sys/dev/ic/comvar.h')
-rw-r--r--sys/dev/ic/comvar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h
index 911daadfbc7..0bb7930261d 100644
--- a/sys/dev/ic/comvar.h
+++ b/sys/dev/ic/comvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: comvar.h,v 1.23 2001/03/15 19:07:01 deraadt Exp $ */
+/* $OpenBSD: comvar.h,v 1.24 2001/03/15 21:09:17 art Exp $ */
/* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */
/*
@@ -62,6 +62,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/timeout.h>
+
struct commulti_attach_args {
int ca_slave; /* slave number */
@@ -79,6 +81,8 @@ struct com_softc {
void *sc_ih;
bus_space_tag_t sc_iot;
struct tty *sc_tty;
+ struct timeout sc_dtr_tmo;
+ struct timeout sc_diag_tmo;
int sc_overflows;
int sc_floods;