From bc0e6469ff9b62f1efebae02de2ae79acbd8d8a9 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Mon, 2 Jul 2001 23:47:23 +0000 Subject: [PATCH] Correct obviously wrong mistakes. --- sys/dev/sound/isa/sb16.c | 2 +- sys/dev/sound/pcm/sound.c | 2 +- sys/dev/sound/pcm/sound.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index c9fdbfc906e..ffef450f972 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -149,7 +149,7 @@ sb_dspwr(struct sb_info *sb, u_char val) return 1; } } -#if __FreeBSD_version > 50000 +#if __FreeBSD_version > 500000 if (curproc->p_intr_nesting_level == 0) printf("sb_dspwr(0x%02x) timed out.\n", val); #endif diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index f7da504789a..81b7f1fca20 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -39,7 +39,7 @@ TUNABLE_INT("hw.snd.unit", &snd_unit); #endif int snd_autovchans = 0; int snd_maxvchans = 0; -#if __FreeBSD_version > 50000 +#if __FreeBSD_version > 500000 TUNABLE_INT("hw.snd.autovchans", &snd_autovchans); TUNABLE_INT("hw.snd.maxvchans", &snd_maxvchans); #else diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index f759c58c708..934fd680a27 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -76,7 +76,7 @@ #define USING_MUTEX #define USING_DEVFS #else -#define INTR_TYPE_AV INTR_TYPE_MISC +#define INTR_TYPE_AV INTR_TYPE_TTY #endif #define SND_DYNSYSCTL