vxgell-version.h revision 221167
1/*- 2 * Copyright(c) 2002-2011 Exar Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification are permitted provided the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, 9 * this list of conditions and the following disclaimer. 10 * 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 13 * documentation and/or other materials provided with the distribution. 14 * 15 * 3. Neither the name of the Exar Corporation nor the names of its 16 * contributors may be used to endorse or promote products derived from 17 * this software without specific prior written permission. 18 * 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31/*$FreeBSD: head/sys/dev/vxge/vxgell-version.h 221167 2011-04-28 14:33:15Z gnn $*/ 32 33#ifndef _VXGELL_VERSION_H_ 34#define _VXGELL_VERSION_H_ 35 36#define XGELL_VERSION_MAJOR 2 37#define XGELL_VERSION_MINOR 5 38#define XGELL_VERSION_FIX 1 39#define XGELL_VERSION_BUILD GENERATED_BUILD_VERSION 40 41#define VXGE_FW_VERSION(major, minor, build) \ 42 ((major << 16) + (minor << 8) + build) 43 44#define VXGE_FW_MAJ_MIN_VERSION(major, minor) \ 45 ((major << 16) + (minor << 8)) 46 47/* Adapter should be running with this fw version for using FW_UPGRADE API's */ 48#define VXGE_BASE_FW_MAJOR_VERSION 1 49#define VXGE_BASE_FW_MINOR_VERSION 4 50#define VXGE_BASE_FW_BUILD_VERSION 4 51 52#define VXGE_BASE_FW_VERSION \ 53 VXGE_FW_VERSION(VXGE_BASE_FW_MAJOR_VERSION, \ 54 VXGE_BASE_FW_MINOR_VERSION, \ 55 VXGE_BASE_FW_BUILD_VERSION) 56 57#define VXGE_DRV_FW_VERSION \ 58 VXGE_FW_VERSION(VXGE_MIN_FW_MAJOR_VERSION, \ 59 VXGE_MIN_FW_MINOR_VERSION, \ 60 VXGE_MIN_FW_BUILD_NUMBER) 61 62#define VXGE_DRV_FW_MAJ_MIN_VERSION \ 63 VXGE_FW_MAJ_MIN_VERSION(VXGE_MIN_FW_MAJOR_VERSION, \ 64 VXGE_MIN_FW_MINOR_VERSION) 65 66#define VXGE_FW_ARRAY_NAME X3fw_ncf 67#define VXGE_COPYRIGHT "Copyright(c) 2002-2011 Exar Corp.\n" 68#define VXGE_ADAPTER_NAME "Neterion x3100 10GbE PCIe Server Adapter " \ 69 "(Rev %d)" 70 71#endif /* _VXGELL_VERSION_H_ */ 72