From 17f3e2360bcd1d7879945af06f136c3664ab0d16 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 16 Apr 2000 05:07:29 +0000 Subject: [PATCH] permit compiling kernel without pccom or com --- sys/arch/i386/i386/bios.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.20.1