Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 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 | * |
Jon Mason | 926bd90 | 2010-07-15 08:47:26 +0000 | [diff] [blame] | 10 | * vxge-version.h: Driver for Exar Corp's X3100 Series 10GbE PCIe I/O |
Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 11 | * Virtualized Server Adapter. |
Jon Mason | 926bd90 | 2010-07-15 08:47:26 +0000 | [diff] [blame] | 12 | * Copyright(c) 2002-2010 Exar Corp. |
Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 13 | ******************************************************************************/ |
| 14 | #ifndef VXGE_VERSION_H |
Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 15 | #define VXGE_VERSION_H |
| 16 | |
| 17 | #define VXGE_VERSION_MAJOR "2" |
Jon Mason | 5d52040 | 2010-12-10 14:03:02 +0000 | [diff] [blame] | 18 | #define VXGE_VERSION_MINOR "5" |
| 19 | #define VXGE_VERSION_FIX "1" |
| 20 | #define VXGE_VERSION_BUILD "22082" |
Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 21 | #define VXGE_VERSION_FOR "k" |
Jon Mason | e8ac175 | 2010-11-11 04:25:57 +0000 | [diff] [blame] | 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 | |
Ramkrishna Vepa | 5f548a3 | 2009-04-01 18:15:22 +0000 | [diff] [blame] | 49 | #endif |