xref: /illumos-gate/usr/src/uts/common/io/xge/hal/include/version.h (revision 76716eaced8d7659d4594350eb3f343c31fe2806)
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 
22 /*
23  *  Copyright (c) 2002-2005 Neterion, Inc.
24  *  All right Reserved.
25  *
26  *  FileName :    version.h
27  *
28  *  Description:  versioning file
29  *
30  *  Created:      3 September 2004
31  */
32 
33 #ifndef VERSION_H
34 #define VERSION_H
35 
36 #include "build-version.h"
37 
38 #define XGE_HAL_VERSION_MAJOR	"2"
39 #define XGE_HAL_VERSION_MINOR	"0"
40 #define XGE_HAL_VERSION_FIX	"0"
41 #define XGE_HAL_VERSION_BUILD	GENERATED_BUILD_VERSION
42 #define XGE_HAL_VERSION XGE_HAL_VERSION_MAJOR"."XGE_HAL_VERSION_MINOR"."\
43 			XGE_HAL_VERSION_FIX"."XGE_HAL_VERSION_BUILD
44 #define XGE_HAL_DESC	XGE_DRIVER_NAME" v."XGE_HAL_VERSION
45 
46 #ifdef XGELL_VERSION_DEFINITION_PROVIDED
47 /* Link Layer versioning */
48 #include "xgell-version.h"
49 #else
50 #define XGELL_VERSION_MAJOR	"0"
51 #define XGELL_VERSION_MINOR	"0"
52 #define XGELL_VERSION_FIX	"0"
53 #define XGELL_VERSION_BUILD	"0"
54 #define XGELL_VERSION            XGELL_VERSION_MAJOR"."XGELL_VERSION_MINOR
55 #endif
56 
57 #endif /* VERSION_H */
58