1 /******************************************************************************
2  * This software may be used and distributed according to the terms of
3  * the GNU General Public License (GPL), incorporated herein by reference.
4  * Drivers based on or derived from this code fall under the GPL and must
5  * retain the authorship, copyright and license notice.  This file is not
6  * a complete program and may only be used when the entire operating
7  * system is licensed under the GPL.
8  * See the file COPYING in this distribution for more information.
9  *
10  * vxge-version.h: Driver for Exar Corp's X3100 Series 10GbE PCIe I/O
11  *                 Virtualized Server Adapter.
12  * Copyright(c) 2002-2010 Exar Corp.
13  ******************************************************************************/
14 #ifndef VXGE_VERSION_H
15 #define VXGE_VERSION_H
16 
17 #define VXGE_VERSION_MAJOR	"2"
18 #define VXGE_VERSION_MINOR	"5"
19 #define VXGE_VERSION_FIX	"3"
20 #define VXGE_VERSION_BUILD	"22640"
21 #define VXGE_VERSION_FOR	"k"
22 
23 #define VXGE_FW_VER(maj, min, bld) (((maj) << 16) + ((min) << 8) + (bld))
24 
25 #define VXGE_DEAD_FW_VER_MAJOR	1
26 #define VXGE_DEAD_FW_VER_MINOR	4
27 #define VXGE_DEAD_FW_VER_BUILD	4
28 
29 #define VXGE_FW_DEAD_VER VXGE_FW_VER(VXGE_DEAD_FW_VER_MAJOR, \
30 				     VXGE_DEAD_FW_VER_MINOR, \
31 				     VXGE_DEAD_FW_VER_BUILD)
32 
33 #define VXGE_EPROM_FW_VER_MAJOR	1
34 #define VXGE_EPROM_FW_VER_MINOR	6
35 #define VXGE_EPROM_FW_VER_BUILD	1
36 
37 #define VXGE_EPROM_FW_VER VXGE_FW_VER(VXGE_EPROM_FW_VER_MAJOR, \
38 				      VXGE_EPROM_FW_VER_MINOR, \
39 				      VXGE_EPROM_FW_VER_BUILD)
40 
41 #define VXGE_CERT_FW_VER_MAJOR	1
42 #define VXGE_CERT_FW_VER_MINOR	8
43 #define VXGE_CERT_FW_VER_BUILD	1
44 
45 #define VXGE_CERT_FW_VER VXGE_FW_VER(VXGE_CERT_FW_VER_MAJOR, \
46 				     VXGE_CERT_FW_VER_MINOR, \
47 				     VXGE_CERT_FW_VER_BUILD)
48 
49 #endif
50