diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-17 20:58:28 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-17 20:58:28 +0000 |
commit | c510630c5b9a7171c4701c842e2f5af2b86dc755 (patch) | |
tree | c8a9bb8f58391645eb9abefb59e00dcf1f03dfe5 /sys/arch/i386/stand/libsa | |
parent | 2053e2d6e47336f52d66ca3a45e0044e653299c3 (diff) |
allow setting com baudrate up to 115200; req and testing by Sourabh Ladha <ladha@mail.eecis.udel.edu>
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r-- | sys/arch/i386/stand/libsa/bioscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c index 2a5f9265cc9..0e040fdd014 100644 --- a/sys/arch/i386/stand/libsa/bioscons.c +++ b/sys/arch/i386/stand/libsa/bioscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioscons.c,v 1.20 2001/03/03 03:34:13 aaron Exp $ */ +/* $OpenBSD: bioscons.c,v 1.21 2003/01/17 20:58:27 mickey Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -166,7 +166,7 @@ comspeed(dev, sp) if (sp <= 0) return com_speed; /* valid baud rate? */ - if (sp > 38400 || sp < 75) + if (115200 < sp || sp < 75) return -1; for (i = sp; i != 75; i >>= 1) |