summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-28 10:28:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-28 10:28:16 +0000
commit21411191227c1b8ace4f7c0625ac37245dc2b0c7 (patch)
tree495b01ec3e8fceeab3c9a7c61aadd9566334b251
parentd5293b36c40367564df7165023572799c6cbfc08 (diff)
fix pccons/pcvt messup
-rw-r--r--sys/arch/i386/isa/spkr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/isa/spkr.c b/sys/arch/i386/isa/spkr.c
index dd62539b022..929b18e33f6 100644
--- a/sys/arch/i386/isa/spkr.c
+++ b/sys/arch/i386/isa/spkr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spkr.c,v 1.8 1996/05/10 12:46:23 deraadt Exp $ */
+/* $OpenBSD: spkr.c,v 1.9 1996/05/28 10:28:15 deraadt Exp $ */
/* $NetBSD: spkr.c,v 1.23 1996/05/05 19:31:25 christos Exp $ */
/*
@@ -445,16 +445,16 @@ spkrprobe (parent, match, aux)
(
#include "vt.h"
#include "pc.h"
-#if NPC
+#if NPC > 0
(parent->dv_cfdata->cf_attach != &pc_ca)
#endif
-#if NPC && NVT /* XXX could we have both of them ??? */
+#if NPC > 0 && NVT > 0 /* XXX could we have both of them ??? */
&&
#endif
-#if NVT
+#if NVT > 0
(parent->dv_cfdata->cf_attach != &vt_ca)
#endif
-#if !NCP && !NVT
+#if NPC == 0 && NVT == 0
1
#endif
))