close Warning: Can't use blame annotator:
No changeset 2 in the repository

source: svn/newcon3bcm2_21bu/magnum/basemodules/hab/3109/bhab_3109.c

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 3.1 KB
RevLine 
1/***************************************************************************
2 *     Copyright (c) 2003-2011, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: bhab_3109.c $
11 * $brcm_Revision: Hydra_Software_Devel/6 $
12 * $brcm_Date: 5/27/11 4:42p $
13 *
14 *
15 * Revision History:
16 *
17 * $brcm_Log: /magnum/basemodules/hab/3109/bhab_3109.c $
18 *
19 * Hydra_Software_Devel/6   5/27/11 4:42p atanugul
20 * SW3461-3: Initializer for BHAB_3461_GetConfigSettings and
21 * BHAB_3461_SetConfigSettings
22 *
23 * Hydra_Software_Devel/5   5/6/11 3:52p atanugul
24 * SW3128-2: missing initializer for isMtsif.
25 *
26 * Hydra_Software_Devel/4   5/3/11 5:59p mward
27 * SW3128-8: missing initializer for isSpi.
28 *
29 * Hydra_Software_Devel/3   12/2/10 7:30p VISHK
30 * SW7405-5037: To make the i2c address programmable for the slave
31 * device(LNA) of 31xx frontend chip.
32 *
33 * Hydra_Software_Devel/2   12/22/09 11:21a VISHK
34 * SW7405-3621: Segmentation fault on BCM97405IFE with PREREL Brutus.
35 * SW7405-2851: 31xx: Add support to configure the Watchdog feature of
36 * 31xx
37 *
38 * Hydra_Software_Devel/1   3/10/09 1:58p vishk
39 * PR 46431: Add support for BCM3117, BCM3114, and BCM3112
40 *
41 *
42 ***************************************************************************/
43
44#include "bhab.h"
45#include "bhab_priv.h"
46#include "bhab_3109.h"
47#include "bhab_31xx_priv.h"
48
49BDBG_MODULE(bhab_3109);
50
51
52static const BHAB_Settings defDevSettings =
53  {     
54    0x66, /* chipAddr */
55    NULL, /* interruptEnableFunc */
56    NULL, /* interruptEnableFuncParam */
57    /* API function table */
58    {
59        BHAB_31xx_Open,
60        BHAB_31xx_Close,
61        BHAB_31xx_InitAp, 
62        BHAB_31xx_GetApStatus,
63        BHAB_31xx_GetApVersion,
64        BHAB_31xx_ReadRegister,
65        BHAB_31xx_WriteRegister,
66        BHAB_31xx_ReadMemory,
67        BHAB_31xx_WriteMemory,
68        BHAB_31xx_ReadMbox,
69        BHAB_31xx_WriteMbox,
70        BHAB_31xx_HandleInterrupt_isr,
71        BHAB_31xx_ProcessInterruptEvent,
72        BHAB_31xx_EnableLockInterrupt, 
73        BHAB_31xx_InstallInterruptCallback, 
74        BHAB_31xx_UnInstallInterruptCallback,
75        BHAB_31xx_SendHabCommand,
76        BHAB_31xx_GetInterruptEventHandle,
77        BHAB_31xx_GetWatchDogTimer, 
78        BHAB_31xx_SetWatchDogTimer,
79        BHAB_31xx_GetNmiConfig,
80        BHAB_31xx_SetNmiConfig,
81        NULL, /* BHAB_3461_GetConfigSettings */
82        NULL /* BHAB_3461_SetConfigSettings */
83        },
84        0x60, /* slaveChipAddr */
85        false, /* isSpi */
86        false /* isMtsif */
87  };
88
89
90/******************************************************************************
91 BHAB_3109_GetDefaultSettings()
92******************************************************************************/
93BERR_Code BHAB_3109_GetDefaultSettings(
94        BHAB_Settings *pDefSettings /* [out] default settings */
95)
96{
97        *pDefSettings = defDevSettings;
98        return BERR_SUCCESS;
99}
Note: See TracBrowser for help on using the repository browser.