xref: /titanic_51/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/lm_desc.h (revision d14abf155341d55053c76eeec58b787a456b753b)
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 2014 QLogic Corporation
22  * The contents of this file are subject to the terms of the
23  * QLogic End User License (the "License").
24  * You may not use this file except in compliance with the License.
25  *
26  * You can obtain a copy of the License at
27  * http://www.qlogic.com/Resources/Documents/DriverDownloadHelp/
28  * QLogic_End_User_Software_License.txt
29  * See the License for the specific language governing permissions
30  * and limitations under the License.
31  *
32  *
33  * Module Description:
34  *
35  *
36  * History:
37  *    11/15/01 havk             Inception.
38  ******************************************************************************/
39 
40 #ifndef _LM_DESC_H
41 #define _LM_DESC_H
42 
43 #include "fw_defs.h"
44 
45 #ifndef StringIt
46 #define _StringIt(x)                    #x
47 #define StringIt(x)                     _StringIt(x)
48 #endif
49 
50 #if DBG
51 #define LM_DEBUG_STR "\r\nDEBUG version"
52 #else
53 #define LM_DEBUG_STR ""
54 #endif
55 
56 #define LM_DRIVER_MAJOR_VER     7
57 #define LM_DRIVER_MINOR_VER     10
58 #define LM_DRIVER_FIX_NUM       51
59 #define LM_DRIVER_ENG_NUM       00
60 
61 /* major product release version which corresponds to T2.8, T3.0, etc. */
62 #define LM_PRODUCT_MAJOR_VER    18
63 #define LM_PRODUCT_MINOR_VER    4
64 #define LM_PRODUCT_FIX_NUM      0
65 
66 #define LM_COMPANY_NAME_STR     "QLogic Corporation"
67 #define LM_COPYRIGHT_STR        "(c) COPYRIGHT 2014 QLogic Corporation"
68 #define LM_PRODUCT_NAME_STR     "QLogic NetXtreme II 10GigE"
69 
70 #define LM_INFO_STR             "\r\nFW Ver:" StringIt(BCM_5710_FW_MAJOR_VERSION) "." StringIt(BCM_5710_FW_MINOR_VERSION) "." StringIt(BCM_5710_FW_REVISION_VERSION) "." StringIt(BCM_5710_FW_ENGINEERING_VERSION) "\r\nFW Compile:" StringIt(BCM_5710_FW_COMPILE_FLAGS) LM_DEBUG_STR
71 
72 #endif /* _LM_DESC_H */
73