xref: /illumos-gate/usr/src/uts/common/io/xge/hal/include/version.h (revision 4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  *
21  * Copyright (c) 2002-2006 Neterion, Inc.
22  */
23 
24 #ifndef VERSION_H
25 #define VERSION_H
26 
27 #include "build-version.h"
28 
29 #define XGE_HAL_VERSION_MAJOR	"2"
30 #define XGE_HAL_VERSION_MINOR	"5"
31 #define XGE_HAL_VERSION_FIX	"0"
32 #define XGE_HAL_VERSION_BUILD	GENERATED_BUILD_VERSION
33 #define XGE_HAL_VERSION XGE_HAL_VERSION_MAJOR"."XGE_HAL_VERSION_MINOR"."\
34 			XGE_HAL_VERSION_FIX"."XGE_HAL_VERSION_BUILD
35 #define XGE_HAL_DESC	XGE_DRIVER_NAME" v."XGE_HAL_VERSION
36 
37 #ifdef XGELL_VERSION_DEFINITION_PROVIDED
38 /* Link Layer versioning */
39 #include "xgell-version.h"
40 #else
41 #define XGELL_VERSION_MAJOR	"0"
42 #define XGELL_VERSION_MINOR	"0"
43 #define XGELL_VERSION_FIX	"0"
44 #define XGELL_VERSION_BUILD	"0"
45 #define XGELL_VERSION            XGELL_VERSION_MAJOR"."XGELL_VERSION_MINOR
46 #endif
47 
48 #endif /* VERSION_H */
49