summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-29 08:18:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-29 08:18:02 +0000
commita7586fe5b7fc8cab4fec3c60ca9dc5f2dcdd8627 (patch)
treecac673acc0a144d73fc82415f085fb547a3c467b
parent64d0d25607fc8ee08207b1252a6321547c686967 (diff)
show "OPTi not found" message in debug mode only.
-rw-r--r--sys/dev/isa/wss.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/isa/wss.c b/sys/dev/isa/wss.c
index c16ca3ce0c0..d5c6f0c0752 100644
--- a/sys/dev/isa/wss.c
+++ b/sys/dev/isa/wss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wss.c,v 1.11 1996/05/26 00:27:32 deraadt Exp $ */
+/* $OpenBSD: wss.c,v 1.12 1996/05/29 08:18:01 mickey Exp $ */
/* $NetBSD: wss.c,v 1.13 1996/05/12 23:54:16 mycroft Exp $ */
/*
@@ -199,7 +199,11 @@ wssprobe(parent, match, aux)
}
if( !opti_snd_setup( OPTI_WSS, iobase, ia->ia_irq, ia->ia_drq ) )
+#ifdef DEBUG
printf("ad_detect_A: could not setup OPTi chipset.\n");
+#else
+ ;
+#endif
sc->sc_ad1848.sc_iobase = iobase;