summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-16 05:07:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-16 05:07:30 +0000
commit10fe9c4f32469a6d780e41893a40770e4c08c2f7 (patch)
treea37bfaecbd1ae2d5255b81a69fe590afca13e190 /sys/arch
parent6acfa83aba86e510562353a769cf0bc9a18be46b (diff)
permit compiling kernel without pccom or com
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/bios.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 87d63319cca..39a43f3f25d 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.26 2000/02/18 17:10:09 mickey Exp $ */
+/* $OpenBSD: bios.c,v 1.27 2000/04/16 05:07:29 deraadt Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -214,8 +214,12 @@ bios_getopt()
if (q->ba_size >= sizeof(bios_consdev_t))
{
bios_consdev_t *cdp = (bios_consdev_t*)q->ba_arg;
+#include "com.h"
+#include "pccom.h"
+#if NCOM + NPCCOM > 0
extern int comdefaultrate; /* ic/com.c */
comdefaultrate = cdp->conspeed;
+#endif
cnset(cdp->consdev);
}
break;