USR910x_3.04L.01_consumer.tar.gz
[bcm963xx.git] / targets / config.in.bak
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5
6 #****************************************************************************
7 #
8 #  Copyright (c) 2001, 2002  Broadcom Corporation
9 #  All Rights Reserved
10 #  No portions of this material may be reproduced in any form without the
11 #  written permission of:
12 #          Broadcom Corporation
13 #          16251 Laguna Canyon Road
14 #          Irvine, California 92618
15 #  All information contained in this document is Broadcom Corporation
16 #  company private, proprietary, and trade secret.
17 #
18 #****************************************************************************
19
20 mainmenu_name "Broadcom CommEngine xDSL Software Configuration"
21
22 mainmenu_option next_comment
23 comment 'Chip selection'
24
25 choice 'Broadcom Commengine chip'   \
26       "6338        BRCM_6338     \
27        6345        BRCM_6345     \
28        6348        BRCM_6348" 6345
29 if [ "$BRCM_6338" = "y" ]; then
30     define_string BRCM_CHIP "6338"
31 #    unset BRCM_6338
32 fi
33 if [ "$BRCM_6345" = "y" ]; then
34     define_string BRCM_CHIP "6345"
35 #    unset BRCM_6345
36 fi
37 if [ "$BRCM_6348" = "y" ]; then
38     define_string BRCM_CHIP "6348"
39 #    unset BRCM_6348
40 fi
41
42 endmenu
43
44 mainmenu_option next_comment
45 comment 'Board configuration selection'
46
47 string "Board ID" BRCM_BOARD_ID
48 int 'Flash memory block size in Kbytes' BRCM_FLASHBLK_SIZE
49 int 'Number of Mac addresses' BRCM_NUM_MAC_ADDRESSES
50 string "Base Mac address" BRCM_BASE_MAC_ADDRESS
51 string "Default settings file name" BRCM_DEFAULTCFG
52
53 endmenu
54
55 mainmenu_option next_comment
56 comment 'ADSL standard selection'
57
58 choice 'ADSL standard'   \
59       "ANNEX_A     BRCM_ADSL_ANNEX_A     \
60        ANNEX_B     BRCM_ADSL_ANNEX_B     \
61        ANNEX_C     BRCM_ADSL_ANNEX_C     \
62        SADSL       BRCM_ADSL_SADSL" ANNEX_A
63
64 if [ "$BRCM_ADSL_ANNEX_A" = "y" ]; then
65     define_string BRCM_ADSL_STANDARD "ANNEX_A"
66 fi
67 if [ "$BRCM_ADSL_ANNEX_B" = "y" ]; then
68     define_string BRCM_ADSL_STANDARD "ANNEX_B"
69 fi
70 if [ "$BRCM_ADSL_ANNEX_C" = "y" ]; then
71     define_string BRCM_ADSL_STANDARD "ANNEX_C"
72 fi
73 if [ "$BRCM_ADSL_SADSL" = "y" ]; then
74     define_string BRCM_ADSL_STANDARD "SADSL"
75 fi
76
77 endmenu
78
79 mainmenu_option next_comment
80 comment 'Driver selection'
81
82 #tristate ' Support for BCM96345 Net Device Test' CONFIG_BCM96345_NETDEVTEST
83 tristate 'ATM' BRCM_DRIVER_ATM
84 tristate 'ADSL' BRCM_DRIVER_ADSL
85 tristate 'Ethernet' BRCM_DRIVER_ETHERNET
86 if [ "$BRCM_DRIVER_ETHERNET" = "y" -o "$BRCM_DRIVER_ETHERNET" = "m" ]; then
87   bool '    Support Configuration for Ethernet Speed/Type' BRCM_DRIVER_ETHERNET_CONFIG
88 fi
89 tristate 'USB' BRCM_DRIVER_USB
90 tristate 'WIRELESS' BRCM_DRIVER_WIRELESS
91 if [ "$BRCM_6345" = "y" ]; then
92 if [ "$BRCM_DRIVER_WIRELESS" = "y" -o "$BRCM_DRIVER_WIRELESS" = "m" ]; then
93  bool '  Support Byte Swapping' BRCM_DRIVER_WIRELESS_PCMCIA_DATASWAP
94  bool '  Support EBI DMA' BRCM_DRIVER_WIRELESS_EBI_DMA
95 fi
96 fi
97 if [ "$BRCM_6348" = "y" ]; then
98 if [ "$BRCM_DRIVER_WIRELESS" = "y" -o "$BRCM_DRIVER_WIRELESS" = "m" ]; then
99     define_string BRCM_DRIVER_PCI "y"
100 fi
101 bool 'PCI' BRCM_DRIVER_PCI
102 fi
103
104 #tristate 'VDSL' BRCM_DRIVER_VDSL
105 tristate 'SECURITY' BRCM_DRIVER_SECURITY
106 tristate 'HPNA' BRCM_DRIVER_HPNA
107 tristate 'PHONE' BRCM_DRIVER_PHONE
108 tristate 'BCMPROCFS' BRCM_DRIVER_PROCFS
109 bool     'SERIAL' BRCM_DRIVER_SERIAL
110 if [ "$BRCM_6348" = "y" ]; then
111   bool 'USB Host' LINUX_DRIVER_USB_HOST
112   if [ "$LINUX_DRIVER_USB_HOST" = "y" ]; then
113     bool '    USB Communication Class Ethernet device support' LINUX_DRIVER_CDCETHER
114     if [ "$BRCM_DRIVER_PCI" != "y" ]; then
115       define_string BRCM_DRIVER_PCI "y"
116     fi
117   fi
118 fi
119
120 endmenu
121
122 mainmenu_option next_comment
123 comment 'Netfilter and firewall selection'
124
125 tristate 'Netfilter/firewall/mangling/nat' BRCM_KERNEL_NETFILTER
126
127 dep_tristate ' Firewall support' BRCM_KERNEL_NF_FIREWALL $BRCM_KERNEL_NETFILTER
128 dep_tristate ' Packet mangling support' BRCM_KERNEL_NF_MANGLE $BRCM_KERNEL_NETFILTER
129 dep_tristate ' NAT support' BRCM_KERNEL_NF_NAT $BRCM_KERNEL_NETFILTER
130 dep_tristate ' Userspace queueing via NETLINK' BRCM_KERNEL_NF_QUEUE $BRCM_KERNEL_NETFILTER
131 dep_tristate ' Tecom traffic control(budget)' BRCM_KERNEL_NF_TECOM_TRAFFIC $BRCM_KERNEL_NETFILTER
132
133 dep_tristate '  FTP ALG'  BRCM_KERNEL_NF_NAT_ALG_FTP  $BRCM_KERNEL_NF_NAT
134 dep_tristate '  TFTP ALG' BRCM_KERNEL_NF_NAT_ALG_TFTP $BRCM_KERNEL_NF_NAT
135 dep_tristate '  H323 ALG' BRCM_KERNEL_NF_NAT_ALG_H323 $BRCM_KERNEL_NF_NAT
136 dep_tristate '  IRC ALG'  BRCM_KERNEL_NF_NAT_ALG_IRC  $BRCM_KERNEL_NF_NAT
137 # NOT USED - dep_tristate '  DIRECTX 8 ALG'  BRCM_KERNEL_NF_NAT_ALG_DTX8  $BRCM_KERNEL_NF_NAT
138 dep_tristate '  Windows Media Player ALG'  BRCM_KERNEL_NF_NAT_ALG_WM  $BRCM_KERNEL_NF_NAT
139 dep_tristate '  Port Triggering ALG'  BRCM_KERNEL_NF_NAT_ALG_PT  $BRCM_KERNEL_NF_NAT
140 dep_tristate '  PPTP ALG' BRCM_KERNEL_NF_NAT_ALG_PPTP $BRCM_KERNEL_NF_NAT
141 dep_tristate '  IPSec ALG' BRCM_KERNEL_NF_NAT_ALG_IPSEC $BRCM_KERNEL_NF_NAT
142 dep_tristate '  RTSP ALG' BRCM_KERNEL_NF_NAT_ALG_RTSP $BRCM_KERNEL_NF_NAT
143 dep_tristate '  SNMP ALG' BRCM_KERNEL_NF_NAT_ALG_SNMP $BRCM_KERNEL_NF_NAT
144 dep_tristate '  TALK ALG' BRCM_KERNEL_NF_NAT_ALG_TALK $BRCM_KERNEL_NF_NAT
145
146 dep_tristate ' Logging events' BRCM_KERNEL_NF_LOG $BRCM_KERNEL_NETFILTER
147
148 dep_tristate ' Remote access support in PPP IP extension' BRCM_KERNEL_NF_PPPREMOTE $BRCM_KERNEL_NETFILTER
149
150 endmenu
151
152 mainmenu_option next_comment
153 comment 'Root file system selection'
154
155 choice 'Root file system '   \
156       "SQUASHFS    BRCM_ROOTFS_SQUASHFS   \
157        CRAMFS      BRCM_ROOTFS_CRAMFS     \
158        NFS         BRCM_ROOTFS_NFS" SQUASHFS
159
160 if [ "$BRCM_ROOTFS_SQUASHFS" = "y" ]; then
161     define_string BRCM_KERNEL_ROOTFS "squashfs"
162 fi       
163 if [ "$BRCM_ROOTFS_CRAMFS" = "y" ]; then
164     define_string BRCM_KERNEL_ROOTFS "cramfs"
165 fi
166 #if [ "$BRCM_ROOTFS_JFFS2" = "y" ]; then
167 #    define_string BRCM_KERNEL_ROOTFS "jffs2"
168 #fi
169 if [ "$BRCM_ROOTFS_NFS" = "y" ]; then
170     define_string BRCM_KERNEL_ROOTFS "nfs"
171 fi
172
173 endmenu
174
175 mainmenu_option next_comment
176 comment 'Toolchain selection'
177
178 bool 'Uclibc' BRCM_UCLIBC
179
180 bool 'Pthreads' BRCM_PTHREADS
181
182 endmenu
183
184 mainmenu_option next_comment
185 comment 'User application selection'
186
187 tristate2 'RFC2684 Bridge and Routing mode control utility' BUILD_PVC2684CTL
188
189 tristate2 'Bridge Control Utility' BUILD_BRCTL
190
191 tristate2 'Configuration Manager' BUILD_CFM
192 if [ "$BUILD_CFM" == "dynamic" -o "$BUILD_CFM" == "static" ]; then
193   bool '        Support Menu Driven Interface' BUILD_CFM_MENU
194   bool '        Support Command Line Interface' BUILD_CFM_CLI
195   if [ "$BUILD_CFM_CLI" = "y" -o "$BUILD_CFM_MENU" = "y" ]; then
196     bool '          Telnet' BUILD_CFM_TELNETD
197     bool '          SSHD (Secure Shell Server)' BUILD_CFM_SSHD
198         if [ "$BUILD_CFM_SSHD" = "y" ]; then
199           bool '            SSHD Key Generation on target' BUILD_SSHD_MIPS_GENKEY
200         fi
201   fi
202   bool '        Display HTML page in pop-up window' WEB_POPUP
203 fi
204
205 tristate2 'IP Firewall' BUILD_IPTABLES
206
207 tristate2 'Bridge Firewall' BUILD_EBTABLES
208
209 tristate2 'Time of Day restrictions' BUILD_TOD
210
211 tristate2 'PPP Daemon' BUILD_PPPD
212
213 quad 'Transparent Proxy for AOL/MSN Messenger' BUILD_REAIM
214
215 tristate2 'VLAN 802.1Q Configuration' BUILD_VCONFIG
216
217 tristate2 'WAN Over Ethernet Configuration' BUILD_ETHWAN
218
219 tristate2 'DNS Relay Probe' BUILD_DNSPROBE
220
221 tristate2 'IGMPV2 Proxy' BUILD_IGMP
222
223 tristate2 'DHCP(server and client)' BUILD_UDHCP
224
225 tristate2 'DHCP Relay Agent' BUILD_DHCPR
226
227 tristate2 'UPNP' BUILD_UPNP
228
229 tristate2 'Busybox' BUILD_BUSYBOX
230
231 tristate2 'Ftp Server' BUILD_FTPD
232
233 tristate2 'ATM Control Utility' BUILD_ATMCTL
234
235 tristate2 'ADSL Control Utility' BUILD_ADSLCTL
236
237 tristate2 'Network Interface/Info Control Utility' BUILD_NETCTL
238
239 tristate2 'Wireless Control Utility' BUILD_WLCTL
240
241 tristate2 'Wireless Network Authentication Service' BUILD_NAS
242
243 tristate2 'SNTP support' BUILD_SNTP
244
245 tristate2 'Network Transmit/Receive Utility (TTCP)' BUILD_EPITTCP
246
247 tristate2 'Dynamic DNS supprt' BUILD_DDNSD
248
249 tristate2 'SNMP Agent' BUILD_SNMP
250 if [ "$BUILD_SNMP" == "dynamic" -o "$BUILD_SNMP" == "static" ]; then
251 bool '       set operation'  BUILD_SNMP_SET
252 bool '       ADSL mib' BUILD_SNMP_ADSL_MIB
253 bool '       AT mib' BUILD_SNMP_AT_MIB
254 bool '       ATM mib' BUILD_SNMP_ATM_MIB
255 bool '       ICMP mib' BUILD_SNMP_ICMP_MIB
256 bool '       IP mib' BUILD_SNMP_IP_MIB
257 bool '       SNMP mib' BUILD_SNMP_SNMP_MIB
258 bool '       SYSOR mib' BUILD_SNMP_SYSOR_MIB
259 bool '       TCP mib' BUILD_SNMP_TCP_MIB
260 bool '       UDP mib' BUILD_SNMP_UDP_MIB
261 fi
262
263 tristate2 'Voice application' BUILD_VODSL
264 #if [ "$BRCM_APP_VOICE" = "y" -o "$BRCM_APP_VOICE" = "m" ]; then
265 if [ "$BUILD_VODSL" = "static" -o "$BUILD_VODSL" = "dynamic" ]; then
266  choice ' Call signalling protocol'   \
267       "SIP        BRCM_APP_PHONE_SIP \
268        MGCP       BRCM_APP_PHONE_MGCP" SIP
269  if [ "$BRCM_APP_PHONE_SIP" = "y" ]; then
270     define_string BRCM_APP_PHONE "sip"
271  fi
272  if [ "$BRCM_APP_PHONE_MGCP" = "y" ]; then
273     define_string BRCM_APP_PHONE "mgcp"
274  fi
275  choice ' Codec support'   \
276       "G723.1                                              BRCM_DSP_CODEC_G723        \
277        G726                                                BRCM_DSP_CODEC_G726        \
278        G729A                                               BRCM_DSP_CODEC_G729        \
279        G711/G723.1/G726/G729A_(requires_external_SRAM)     BRCM_DSP_CODEC_G7xx        \
280        G711/G726/G729A/T38_(requires_external_SRAM)        BRCM_DSP_CODEC_T38_EXT     \
281        G.729A/TDM_only                                     BRCM_DSP_PCM               \
282        Hybrid_APM_TDM_external_SRAM                        BRCM_DSP_HYBRID_EXT        \
283        APM_FXO_external_SRAM                               BRCM_DSP_APM_FXO_EXT"
284
285  if [ "$BRCM_DSP_CODEC_G723" = "y" ]; then
286     define_string BRCM_DSP_CODEC "g7231"
287  fi
288  if [ "$BRCM_DSP_CODEC_G726" = "y" ]; then
289     define_string BRCM_DSP_CODEC "g726"
290  fi
291  if [ "$BRCM_DSP_CODEC_G729" = "y" ]; then
292     define_string BRCM_DSP_CODEC "g729a"
293  fi
294  if [ "$BRCM_DSP_CODEC_G7xx" = "y" ]; then
295     define_string BRCM_DSP_CODEC "g7xx"
296  fi
297  if [ "$BRCM_DSP_CODEC_T38_EXT" = "y" ]; then
298     define_string BRCM_DSP_CODEC "faxr"
299  fi
300  if [ "$BRCM_DSP_PCM" = "y" ]; then
301     define_string BRCM_DSP_CODEC "g729a"
302  fi
303
304  bool           "DSP_FXO"      BRCM_DSP_FXO
305  bool            "LE9500_SLIC"  XCHG_LE9500_SLIC
306
307
308 else
309  unset BRCM_APP_PHONE
310 fi
311 tristate2 'Dynamic Routing Daemon RIP' BUILD_ZEBRA
312
313
314 define_bool BUILD_LIBCREDUCTION y
315
316 # it should be tristate in the future
317 bool 'Soap server' BUILD_SOAP
318 if [ "$BUILD_SOAP" = "y" ]; then
319    choice ' Soap server version' \
320        "2.0  BRCM_APP_SOAP_V2 \
321         1.5  BRCM_APP_SOAP_V1" 2.0
322    if [ "$BRCM_APP_SOAP_V1" = "y" ]; then
323       define_int BUILD_SOAP_VER 1
324    fi
325    if [ "$BRCM_APP_SOAP_V2" = "y" ]; then
326       define_int BUILD_SOAP_VER 2
327    fi
328 fi
329
330 tristate2 'Internet Printing Protocol support' BUILD_IPPD
331
332 tristate2 'Chip Diagnositc Utility' BUILD_DIAGAPP
333
334 endmenu
335
336 mainmenu_option next_comment
337 comment 'Debug selection'
338
339 bool 'Support GDB in kernel' BRCM_KERNEL_DEBUG
340 bool 'Enable Kernel Debugging via JTAG' JTAG_KERNEL_DEBUG
341 bool 'Support GDBserver for application' BUILD_GDBSERVER
342
343 endmenu
344
345 mainmenu_option next_comment
346 comment 'WebUI language selection'
347
348 choice 'Supported language'     \
349       "English                   BRCM_LANG_EN     \
350        Simplified_Chinese        BRCM_LANG_CN     \
351        Traditional_Chinese       BRCM_LANG_TW     \
352        Korean                    BRCM_LANG_KR " English
353 if [ "$BRCM_LANG_EN" = "y" ]; then
354     define_string BRCM_WEBUI_LANG "en_US"
355 fi
356 if [ "$BRCM_LANG_CN" = "y" ]; then
357     define_string BRCM_WEBUI_LANG "zh_CN"
358 fi
359 if [ "$BRCM_LANG_TW" = "y" ]; then
360     define_string BRCM_WEBUI_LANG "zh_TW"
361 fi
362 if [ "$BRCM_LANG_KR" = "y" ]; then
363     define_string BRCM_WEBUI_LANG "ko_KR"
364 fi
365 endmenu
366
367 mainmenu_option next_comment
368 comment 'Special Feature selection'
369
370 bool 'Turn on Autodisconn in PPP' PPP_AUTODISCONN
371
372 endmenu
373
374 mainmenu_option next_comment
375 comment 'Tecom Special Applications'
376
377 tristate2 'URL FIlter' BUILD_URLFILTER
378
379 tristate2 'FireWall Schedule' BUILD_FWSCHEDULER
380
381 tristate2 'Budget utilities' BUILD_BUDGET
382
383 tristate2 "PC scan tool" BUILD_PCSCAN
384
385 tristate2 "OPENSSL_SUPPORT" BUILD_OPENSSL
386
387 tristate2 "ntp" BUILD_NTP
388
389 endmenu