source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/tnr/7552/btnr_def.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 5.2 KB
Line 
1/***************************************************************************
2 *     (c)2005-2012 Broadcom Corporation
3 * 
4 *  This program is the proprietary software of Broadcom Corporation and/or its licensors,
5 *  and may only be used, duplicated, modified or distributed pursuant to the terms and
6 *  conditions of a separate, written license agreement executed between you and Broadcom
7 *  (an "Authorized License").  Except as set forth in an Authorized License, Broadcom grants
8 *  no license (express or implied), right to use, or waiver of any kind with respect to the
9 *  Software, and Broadcom expressly reserves all rights in and to the Software and all
10 *  intellectual property rights therein.  IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU
11 *  HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY
12 *  NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. 
13 *   
14 *  Except as expressly set forth in the Authorized License,
15 *   
16 *  1.     This program, including its structure, sequence and organization, constitutes the valuable trade
17 *  secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof,
18 *  and to use this information only in connection with your use of Broadcom integrated circuit products.
19 *   
20 *  2.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
21 *  AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR
22 *  WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
23 *  THE SOFTWARE.  BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES
24 *  OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE,
25 *  LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION
26 *  OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF
27 *  USE OR PERFORMANCE OF THE SOFTWARE.
28 * 
29 *  3.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS
30 *  LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR
31 *  EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR
32 *  USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF
33 *  THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT
34 *  ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE
35 *  LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF
36 *  ANY LIMITED REMEDY.
37 *
38 * $brcm_Workfile: btnr_def.h $
39 * $brcm_Revision:
40 * $brcm_Date: 3/23/12 2:51p $
41 *
42 * Module Description:
43 *
44 * Revision History:
45 *
46 * $brcm_Log: /AP/ctfe/core/tnr/btnr_def.h $
47 *
48 * 2   3/23/12 2:51p farshidf
49 * SW3128-125: FW version 4.6
50 *
51 * Fw_Integration_Devel/2   3/23/12 2:50p farshidf
52 * SW3128-125: FW version 4.6
53 *
54 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/5   3/13/12 4:21p farshidf
55 * SW3461-1: make smart tune a compile option
56 *
57 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/4   3/13/12 4:13p farshidf
58 * SW3461-1: smart tune only for 3461/3462
59 *
60 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/3   3/13/12 3:57p farshidf
61 * SW3461-1: clean up
62 *
63 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/2   3/13/12 3:53p farshidf
64 * SW3461-1: clean up btnr_def.h
65 *
66 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/1   3/12/12 6:26p farshidf
67 * SW3462-6: merge to Dev
68 *
69 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/SW3462-6/3   2/29/12 5:56p farshidf
70 * SW3461-165: fix warning
71 *
72 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/SW3462-6/2   2/29/12 5:26p farshidf
73 * SW3461-165 : Chip version clean up & fix tuner for 3462
74 *
75 * Fw_Integration_Devel/AP_V4_0_TNR_DEV/SW3462-6/1   2/28/12 6:04p mpovich
76 * SW3462-6: Rebase with SW3462-3 dev. branch.
77 *
78 * Fw_Integration_Devel/AP_V3_0_TNR_DEV/SW3462-3/1   2/28/12 10:08a jputnam
79 * SW3462-5: Temporary change to force use of TNR_CORE_V_1_1 for 3462A0
80 *  until proper version methodology is adopted in the tuner driver
81 *
82 * Fw_Integration_Devel/1   10/13/11 6:58p farshidf
83 * SW3461-64: merge to integ
84 *
85 * Fw_Integration_Devel/AP_V3_0_TNR_DEV/1   9/29/11 11:38a farshidf
86 * SW3461-1: add the btnr_def.h
87
88 ***************************************************************************/
89#ifndef BTNR_DEF_H__
90#define BTNR_DEF_H__
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96#define BTNR_P_BCHP_CORE_V(MAJOR,MINOR) ((MAJOR*10)+MINOR)
97
98#define BTNR_P_BCHP_CORE_V_1_0 (BTNR_P_BCHP_CORE_V(1,0))
99#define BTNR_P_BCHP_CORE_V_1_1 (BTNR_P_BCHP_CORE_V(1,1))
100#define BTNR_P_BCHP_CORE_V_1_2 (BTNR_P_BCHP_CORE_V(1,2))
101
102
103
104/***************************************************************************
105 *  BTNR CORE Defines
106 ****************************************************************************/
107#if (BCHP_VER == BCHP_VER_A0)
108        #if ((BCHP_CHIP==7552) || (BCHP_CHIP==35233) || (BCHP_CHIP==3461))
109        #define BTNR_P_BCHP_TNR_CORE_VER     BTNR_P_BCHP_CORE_V_1_0
110        #elif (BCHP_CHIP==3462)
111        #define BTNR_P_BCHP_TNR_CORE_VER     BTNR_P_BCHP_CORE_V_1_2
112        #endif
113#elif (BCHP_VER == BCHP_VER_B0)
114        #if ((BCHP_CHIP==7552) || (BCHP_CHIP==3461))
115        #define BTNR_P_BCHP_TNR_CORE_VER     BTNR_P_BCHP_CORE_V_1_1
116        #endif
117#endif
118
119
120#ifdef SMART_TUNE_ENABLED
121        #define SmartTuneEnabled
122#endif
123
124
125
126
127#ifndef BTNR_P_BCHP_TNR_CORE_VER
128  #error TNR core NOT DEFINED in TNR PI
129#endif
130
131#ifdef __cplusplus
132}
133#endif
134
135#endif
Note: See TracBrowser for help on using the repository browser.