summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2001-07-02 23:47:23 +0000
committerBrian Feldman <green@FreeBSD.org>2001-07-02 23:47:23 +0000
commitbc0e6469ff9b62f1efebae02de2ae79acbd8d8a9 (patch)
tree7b66d909b22ee6fe64dc891e863d0efa014b40dd
parent9e12bdbd7987d216906c5dc4e757619cb9fa9ac8 (diff)
Notes
-rw-r--r--sys/dev/sound/isa/sb16.c2
-rw-r--r--sys/dev/sound/pcm/sound.c2
-rw-r--r--sys/dev/sound/pcm/sound.h2
3 files changed, 3 insertions, 3 deletions
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