summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2000-08-09 01:22:09 +0000
committerCameron Grant <cg@FreeBSD.org>2000-08-09 01:22:09 +0000
commit1874ec255cfeafda0406e6a29be7f94bc580a7e7 (patch)
tree36948190f04d86b38dcfc170b4acb801374bf1a9
parentba90ebe703ab06a82c2e7c696b9e37a53e3e5dea (diff)
Notes
-rw-r--r--sys/dev/sound/pcm/sound.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 47720a91ae46..482099bbeb81 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -50,10 +50,6 @@
#if __FreeBSD_version < 500000
#define MODULE_VERSION(mod, ver)
#define MODULE_DEPEND(mod, dep, min, pref, max)
-
-#define ISADMA_WRITE B_WRITE
-#define ISADMA_READ B_READ
-#define ISADMA_RAW B_RAW
#endif
#include <sys/module.h>
@@ -96,6 +92,12 @@ struct isa_device { int dummy; };
#include <dev/sound/pcm/mixer.h>
#include <dev/sound/pcm/dsp.h>
+#ifndef ISADMA_WRITE
+#define ISADMA_WRITE B_WRITE
+#define ISADMA_READ B_READ
+#define ISADMA_RAW B_RAW
+#endif
+
#define PCM_MODVER 1
#define PCM_MINVER 1