diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-05-16 16:31:58 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-05-16 16:31:58 +0000 |
commit | cdcab648f30c2521cfb251a04fa8f857d2a21f6b (patch) | |
tree | 775c8e67c0e22e6cf386811e4524ca8c7169756e /sys/dev/isp/isp_freebsd.h | |
parent | 20cce22a72b37b52bfc4d68bd64496d133af8e1c (diff) | |
download | FreeBSD-src-cdcab648f30c2521cfb251a04fa8f857d2a21f6b.zip FreeBSD-src-cdcab648f30c2521cfb251a04fa8f857d2a21f6b.tar.gz |
Move a define depending on __FreeBSD_versoin to after where it
would be defined.
Submitted by: Ruslan Ermilov
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r-- | sys/dev/isp/isp_freebsd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index acb4fd2..1204bbd 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -29,14 +29,6 @@ #ifndef _ISP_FREEBSD_H #define _ISP_FREEBSD_H -#if __FreeBSD_version < 500000 -#define ISP_PLATFORM_VERSION_MAJOR 4 -#define ISP_PLATFORM_VERSION_MINOR 17 -#else -#define ISP_PLATFORM_VERSION_MAJOR 5 -#define ISP_PLATFORM_VERSION_MINOR 9 -#endif - #include <sys/param.h> #include <sys/systm.h> #include <sys/endian.h> @@ -72,6 +64,14 @@ #include "opt_ddb.h" #include "opt_isp.h" +#if __FreeBSD_version < 500000 +#define ISP_PLATFORM_VERSION_MAJOR 4 +#define ISP_PLATFORM_VERSION_MINOR 17 +#else +#define ISP_PLATFORM_VERSION_MAJOR 5 +#define ISP_PLATFORM_VERSION_MINOR 9 +#endif + /* * Efficiency- get rid of SBus code && tests unless we need them. */ |