From 67a850fc6751bca2723e4fb992febbeffee9cea6 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 21 Mar 1994 15:18:27 +0000 Subject: [PATCH] Increase default DTR wait time up to 3 secs. Also hardw. specs says 2.5 secs is enough, many modems needs at least 3 secs. --- sys/dev/sio/sio.c | 4 ++-- sys/i386/isa/sio.c | 4 ++-- sys/isa/sio.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 3df9d45a75f..d9a23413c37 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.34 1994/03/14 18:52:14 ache Exp $ + * $Id: sio.c,v 1.35 1994/03/18 23:35:37 ache Exp $ */ #include "sio.h" @@ -426,7 +426,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 200; + com->dtr_wait = 300; com->tx_fifo_size = 1; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE; diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index 3df9d45a75f..d9a23413c37 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.34 1994/03/14 18:52:14 ache Exp $ + * $Id: sio.c,v 1.35 1994/03/18 23:35:37 ache Exp $ */ #include "sio.h" @@ -426,7 +426,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 200; + com->dtr_wait = 300; com->tx_fifo_size = 1; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE; diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 3df9d45a75f..d9a23413c37 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.34 1994/03/14 18:52:14 ache Exp $ + * $Id: sio.c,v 1.35 1994/03/18 23:35:37 ache Exp $ */ #include "sio.h" @@ -426,7 +426,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 200; + com->dtr_wait = 300; com->tx_fifo_size = 1; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE;