mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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.
This commit is contained in:
parent
6ec145713c
commit
67a850fc67
3 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue