summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ac97.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2007-07-09 01:24:54 +0000
committerjakemsr <jakemsr@openbsd.org>2007-07-09 01:24:54 +0000
commit93fb43f74d579b229af492051ea9524d8d56012d (patch)
tree6d81ef7819de451019c0e74f8ba70b8362811e5c /sys/dev/ic/ac97.c
parentansify/de-register (diff)
downloadwireguard-openbsd-93fb43f74d579b229af492051ea9524d8d56012d.tar.xz
wireguard-openbsd-93fb43f74d579b229af492051ea9524d8d56012d.zip
don't always spew massive debug messages just because AUDIO_DEBUG is
defined.
Diffstat (limited to 'sys/dev/ic/ac97.c')
-rw-r--r--sys/dev/ic/ac97.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/ac97.c b/sys/dev/ic/ac97.c
index ffd0cd14148..a56888f034b 100644
--- a/sys/dev/ic/ac97.c
+++ b/sys/dev/ic/ac97.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.c,v 1.61 2006/06/30 14:46:11 mickey Exp $ */
+/* $OpenBSD: ac97.c,v 1.62 2007/07/09 01:24:54 jakemsr Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@@ -539,13 +539,12 @@ void ac97_setup_defaults(struct ac97_softc *);
int ac97_read(struct ac97_softc *, u_int8_t, u_int16_t *);
int ac97_write(struct ac97_softc *, u_int8_t, u_int16_t);
-#define AC97_DEBUG 10
#ifdef AUDIO_DEBUG
#define DPRINTF(x) if (ac97debug) printf x
#define DPRINTFN(n,x) if (ac97debug>(n)) printf x
#ifdef AC97_DEBUG
-int ac97debug = AC97_DEBUG;
+int ac97debug = 1;
#else
int ac97debug = 0;
#endif