Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 193 lines (155 sloc) 7.19 KB
/***************************************************************************
#***
#*** Copyright 2005 Hon Hai Precision Ind. Co. Ltd.
#*** All Rights Reserved.
#*** No portions of this material shall be reproduced in any form without the
#*** written permission of Hon Hai Precision Ind. Co. Ltd.
#***
#*** All information contained in this document is Hon Hai Precision Ind.
#*** Co. Ltd. company private, proprietary, and trade secret property and
#*** are protected by international intellectual property laws and treaties.
#***
#****************************************************************************
***
*** Filename: ambitCfg.h
***
*** Description:
*** This file is specific to each project. Every project should have a
*** different copy of this file.
*** Included from ambit.h which is shared by every project.
***
*** History:
***
*** Modify Reason Author Date Search Flag(Option)
*** --------------------------------------------------------------------------------------
*** File Creation Jasmine Yang 11/02/2005
*******************************************************************************/
#ifndef _AMBITCFG_H
#define _AMBITCFG_H
#define WW_VERSION 1 /* WW SKUs */
#define NA_VERSION 2 /* NA SKUs */
#define JP_VERSION 3
#define GR_VERSION 4
#define PR_VERSION 5
#define KO_VERSION 6
#define RU_VERSION 7
#define SS_VERSION 8
#define PT_VERSION 9
#define TWC_VERSION 10
#define BRIC_VERSION 11
#define SK_VERSION 12
#define WLAN_REGION WW_VERSION
#define FW_REGION WW_VERSION /* true f/w region */
/*formal version control*/
#define AMBIT_HARDWARE_VERSION "U12H240T00"
#define AMBIT_SOFTWARE_VERSION "V1.0.1.72"
#define AMBIT_UI_VERSION "1.0.21"
#define STRING_TBL_VERSION "1.0.1.72_2.1.17.1"
#define AMBIT_PRODUCT_NAME "R6300v2"
#define AMBIT_PRODUCT_DESCRIPTION "N1800 Wireless Dual Band Gigabit Router R6300v2"
#define UPnP_MODEL_URL "R6300v2.aspx"
#define UPnP_MODEL_DESCRIPTION "N1800"
#define AMBIT_NVRAM_VERSION "1" /* digital only */
#ifdef AMBIT_UPNP_SA_ENABLE /* Jasmine Add, 10/24/2006 */
#define SMART_WIZARD_SPEC_VERSION "0.7" /* This is specification version of smartwizard 2.0 */
#endif
/****************************************************************************
* Board-specific defintions
*
****************************************************************************/
/* Interface definitions */
#define WAN_IF_NAME_NUM "eth0"
#define LAN_IF_NAME_NUM "vlan1"
#define WLAN_IF_NAME_NUM "eth1"
#define WLAN_N_IF_NAME_NUM "eth2"
#define WDS_IF_NAME_NUM "wds0.1" /* WDS interface */
#ifdef MULTIPLE_SSID
#define WLAN_BSS1_NAME_NUM "wl0.1" /* Multiple BSSID #2 */
#define WLAN_BSS2_NAME_NUM "wl0.2" /* Multiple BSSID #3 */
#define WLAN_BSS3_NAME_NUM "wl0.3" /* Multiple BSSID #4 */
#define WLAN_5G_BSS1_NAME_NUM "wl1.1" /* Multiple BSSID #2 */
#define WLAN_5G_BSS2_NAME_NUM "wl1.2" /* Multiple BSSID #3 */
#define WLAN_5G_BSS3_NAME_NUM "wl1.3" /* Multiple BSSID #4 */
#endif /* MULTIPLE_SSID */
/* add end by aspen Bai, 11/13/2008 */
/* GPIO definitions */
/* modified start, Wins, 04/11/2011 */
#define GPIO_POWER_LED_GREEN 2
#define GPIO_POWER_LED_GREEN_STR "2"
#define GPIO_POWER_LED_AMBER 3
#define GPIO_POWER_LED_AMBER_STR "3"
#define GPIO_LOGO_LED_1 1
#define GPIO_LOGO_LED_1_STR "1"
#define GPIO_LOGO_LED_2 9
#define GPIO_LOGO_LED_2_STR "9"
#define GPIO_WAN_LED 10
#if (defined R6300v2)
#define GPIO_WIFI_5G_LED 11
#else
#define GPIO_WIFI_2G_LED 9
#define GPIO_WIFI_5G_LED 11
#endif
#define LANG_TBL_MTD_RD "/dev/mtdblock"
#define LANG_TBL_MTD_WR "/dev/mtd"
#define ML_MTD_RD "/dev/mtdblock"
#define ML_MTD_WR "/dev/mtd"
/* MTD definitions */
#define ML1_MTD_RD "/dev/mtdblock7"
#define ML1_MTD_WR "/dev/mtd7"
#define ML2_MTD_RD "/dev/mtdblock8"
#define ML2_MTD_WR "/dev/mtd8"
#if defined(X_ST_ML)
#define ST_SUPPORT_NUM (7) /* The maxium value can be 2-10. */
#define LANG_TBL_MTD_START (7)
#define LANG_TBL_MTD_END (LANG_TBL_MTD_START + ST_SUPPORT_NUM - 1)
#define FLASH_MTD_ML_SIZE 0x10000
#define BUILTIN_LANGUAGE "English"
#define ML3_MTD_RD "/dev/mtdblock9"
#define ML3_MTD_WR "/dev/mtd9"
#define ML4_MTD_RD "/dev/mtdblock10"
#define ML4_MTD_WR "/dev/mtd10"
#define ML5_MTD_RD "/dev/mtdblock11"
#define ML5_MTD_WR "/dev/mtd11"
#define ML6_MTD_RD "/dev/mtdblock12"
#define ML6_MTD_WR "/dev/mtd12"
#define ML7_MTD_RD "/dev/mtdblock13"
#define ML7_MTD_WR "/dev/mtd13"
#define TF1_MTD_RD "/dev/mtdblock5"
#define TF1_MTD_WR "/dev/mtd5"
#define TF2_MTD_RD "/dev/mtdblock6"
#define TF2_MTD_WR "/dev/mtd6"
#define POT_MTD_RD "/dev/mtdblock3"
#define POT_MTD_WR "/dev/mtd3"
#define BD_MTD_RD "/dev/mtdblock2"
#define BD_MTD_WR "/dev/mtd2"
#define NVRAM_MTD_RD "/dev/mtdblock1"
#define NVRAM_MTD_WR "/dev/mtd1"
#endif
#define KERNEL_MTD_RD "/dev/mtdblock14"
#define KERNEL_MTD_WR "/dev/mtd14"
#define ROOTFS_MTD_RD "/dev/mtdblock15"
#define ROOTFS_MTD_WR "/dev/mtd15"
#define LANG_TBL1_MTD_RD "/dev/mtdblock7"
#define LANG_TBL1_MTD_WR "/dev/mtd7"
#define LANG_TBL2_MTD_RD "/dev/mtdblock8"
#define LANG_TBL2_MTD_WR "/dev/mtd8"
#define POT2_MTD_RD "/dev/mtdblock4"
#define POT2_MTD_WR "/dev/mtd4"
/* wklin added start, 11/22/2006 */
/* The following definition is used in acosNvramConfig.c and acosNvramConfig.h
* to distingiush between 's and Broadcom's implementation.
*/
#define BRCM_NVRAM /* use broadcom nvram instead of ours */
/* The following definition is to used as the key when doing des
* encryption/decryption of backup file.
* Have to be 7 octects.
*/
#define BACKUP_FILE_KEY "NtgrBak"
/* wklin added end, 11/22/2006 */
/* Perry added start, 2011/04/13, for document URL */
#define DOCUMENT_URL "http://documentation.netgear.com/wndr4500/enu/202-10581-01/index.htm"
/* Perry added end, 2011/04/13, for document URL */
/* Perry added start, 2011/08/17, for USB Support level */
#define USB_support_level "5"
/* Perry added end, 2011/08/17, for USB Support level */
#endif /*_AMBITCFG_H*/
You can’t perform that action at this time.