summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm')
-rw-r--r--sys/dev/sound/pcm/sound.c2
-rw-r--r--sys/dev/sound/pcm/sound.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index f7da504..81b7f1f 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 f759c58..934fd68 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
OpenPOWER on IntegriCloud