From a7586fe5b7fc8cab4fec3c60ca9dc5f2dcdd8627 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 29 May 1996 08:18:02 +0000 Subject: show "OPTi not found" message in debug mode only. --- sys/dev/isa/wss.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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; -- cgit v1.2.3