diff options
author | 2007-07-09 01:24:54 +0000 | |
---|---|---|
committer | 2007-07-09 01:24:54 +0000 | |
commit | 93fb43f74d579b229af492051ea9524d8d56012d (patch) | |
tree | 6d81ef7819de451019c0e74f8ba70b8362811e5c | |
parent | ansify/de-register (diff) | |
download | wireguard-openbsd-93fb43f74d579b229af492051ea9524d8d56012d.tar.xz wireguard-openbsd-93fb43f74d579b229af492051ea9524d8d56012d.zip |
don't always spew massive debug messages just because AUDIO_DEBUG is
defined.
-rw-r--r-- | sys/dev/ic/ac97.c | 5 |
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 |