diff options
author | cg <cg@FreeBSD.org> | 2000-07-18 21:23:48 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-07-18 21:23:48 +0000 |
commit | 1107e981d086ea017448cc46cbeb7f50ead30f1c (patch) | |
tree | e204e9d338d15e486f4bfd1ae746e4533ad47403 /sys/dev | |
parent | 3932cf62e5d4a51ed2277946f77e1f2e42083c80 (diff) | |
download | FreeBSD-src-1107e981d086ea017448cc46cbeb7f50ead30f1c.zip FreeBSD-src-1107e981d086ea017448cc46cbeb7f50ead30f1c.tar.gz |
make this file suitable for 4-stable as well as 5-current
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pcm/sound.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 2f659d8..47720a9 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -47,6 +47,15 @@ #include <sys/kernel.h> /* for DATA_SET */ +#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> #include <sys/conf.h> #include <sys/file.h> @@ -55,7 +64,9 @@ #include <sys/errno.h> #include <sys/malloc.h> #include <sys/bus.h> +#if __FreeBSD_version > 500000 #include <sys/bio.h> +#endif #include <sys/buf.h> #include <machine/clock.h> /* for DELAY */ #include <machine/resource.h> |