diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index c9fdbfc906e6..ffef450f9726 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 f7da504789aa..81b7f1fca209 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 f759c58c7088..934fd680a27b 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