make this file suitable for 4-stable as well as 5-current

This commit is contained in:
Cameron Grant 2000-07-18 21:23:48 +00:00
parent cf575052df
commit d98c7b9a99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63469

View File

@ -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>