diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2007-07-09 01:24:55 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2007-07-09 01:24:55 +0000 |
commit | 6489a79ff514cbae05c01baf2d06bb1a3e9e35c9 (patch) | |
tree | e1dc6ca1bf0028daf42b1a873ca79497a59f0b75 /sys/dev | |
parent | ac0be6968459e58cff2347064239ca0bcd8b11e9 (diff) |
don't always spew massive debug messages just because AUDIO_DEBUG is
defined.
Diffstat (limited to 'sys/dev')
-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 |