summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/bioscons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/libsa/bioscons.c')
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c4
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)