summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-03-29 15:26:48 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-03-29 15:26:48 +0000
commit83316508e2fae3b8d8e394ac1efacbf618cba949 (patch)
treea31828cf5f3b5fa0e7c8f3ab243f3f9f63624d82 /sys/arch/amd64
parent52cf24ee419f81b6971a23c36b0372212987481e (diff)
Fix amd64 and i386 serial console handling for non-default speeds. Bring
i386 pccom into line with com. Problem reported and first diff by Markus Hennecke, who also tested and corrected subsequent diffs. Boot messages and console now work with his 57K serial connections. Suggestions and ok miod@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index df38e5e8936..da8b0b29c99 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.68 2008/03/17 23:17:24 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.69 2008/03/29 15:26:47 krw Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -1816,8 +1816,8 @@ getbootinfo(char *bootinfo, int bootinfo_size)
(bios_consdev_t*)q->ba_arg;
#include "com.h"
#if NCOM > 0
- extern int comdefaultrate; /* ic/com.c */
- comdefaultrate = cdp->conspeed;
+ extern int comconsrate; /* ic/com.c */
+ comconsrate = cdp->conspeed;
#endif
#ifdef BOOTINFO_DEBUG
printf(" console 0x%x:%d",