1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Move a define depending on __FreeBSD_versoin to after where it

would be defined.

Submitted by:   Ruslan Ermilov
This commit is contained in:
Matt Jacob 2006-05-16 16:31:58 +00:00
parent b78e627466
commit 452de53a54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158656

View File

@ -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.
*/