summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-07-02 23:47:23 +0000
committergreen <green@FreeBSD.org>2001-07-02 23:47:23 +0000
commit1aa95d93559c54673a2b242b4ef4c64a0f93a3bc (patch)
tree7b66d909b22ee6fe64dc891e863d0efa014b40dd
parent5ca96c95a7ac2ad67537936f9b954fffc6712686 (diff)
downloadFreeBSD-src-1aa95d93559c54673a2b242b4ef4c64a0f93a3bc.zip
FreeBSD-src-1aa95d93559c54673a2b242b4ef4c64a0f93a3bc.tar.gz
Correct obviously wrong mistakes.
-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 c9fdbfc..ffef450 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 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