diff options
author | ache <ache@FreeBSD.org> | 1993-12-16 04:38:27 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1993-12-16 04:38:27 +0000 |
commit | 1ffe253d64261b592402fc44eacbd6889fb1364e (patch) | |
tree | a54e777c74e6495f5e36afaa9c32eb17686c6b50 /sys | |
parent | b09ed3483fb54fc8ffbe1cb450a8a4d9e79e7abe (diff) | |
download | FreeBSD-src-1ffe253d64261b592402fc44eacbd6889fb1364e.zip FreeBSD-src-1ffe253d64261b592402fc44eacbd6889fb1364e.tar.gz |
Change default dtrwait value to 2 seconds.
Change C-style into static initializer per Bruce request.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sio/sio.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 6 | ||||
-rw-r--r-- | sys/isa/sio.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index fd3efc8..1311367 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.18 1993/12/11 00:36:14 ache Exp $ + * $Id: sio.c,v 1.19 1993/12/13 13:20:50 davidg Exp $ */ #include "sio.h" @@ -305,7 +305,7 @@ static int sioprobe(dev) struct isa_device *dev; { - static bool_t already_init=FALSE; + static bool_t already_init; Port_t *com_ptr; Port_t iobase; int result; @@ -411,7 +411,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 50; + com->dtr_wait = 200; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE; com->ihighwater = com->ibuf1 + RS_IHIGHWATER; diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index fd3efc8..1311367 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.18 1993/12/11 00:36:14 ache Exp $ + * $Id: sio.c,v 1.19 1993/12/13 13:20:50 davidg Exp $ */ #include "sio.h" @@ -305,7 +305,7 @@ static int sioprobe(dev) struct isa_device *dev; { - static bool_t already_init=FALSE; + static bool_t already_init; Port_t *com_ptr; Port_t iobase; int result; @@ -411,7 +411,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 50; + com->dtr_wait = 200; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE; com->ihighwater = com->ibuf1 + RS_IHIGHWATER; diff --git a/sys/isa/sio.c b/sys/isa/sio.c index fd3efc8..1311367 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.18 1993/12/11 00:36:14 ache Exp $ + * $Id: sio.c,v 1.19 1993/12/13 13:20:50 davidg Exp $ */ #include "sio.h" @@ -305,7 +305,7 @@ static int sioprobe(dev) struct isa_device *dev; { - static bool_t already_init=FALSE; + static bool_t already_init; Port_t *com_ptr; Port_t iobase; int result; @@ -411,7 +411,7 @@ sioattach(isdp) com = &com_structs[unit]; com->cfcr_image = CFCR_8BITS; com->mcr_image = MCR_IENABLE; - com->dtr_wait = 50; + com->dtr_wait = 200; com->iptr = com->ibuf = com->ibuf1; com->ibufend = com->ibuf1 + RS_IBUFSIZE; com->ihighwater = com->ibuf1 + RS_IHIGHWATER; |