import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / cris / config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
4 #
5 mainmenu_name "Linux/CRIS Kernel Configuration"
6
7 define_bool CONFIG_UID16 y
8 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
9 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
10
11 mainmenu_option next_comment
12 comment 'Code maturity level options'
13 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
14 endmenu
15
16 mainmenu_option next_comment
17 comment 'Loadable module support'
18 bool 'Enable loadable module support' CONFIG_MODULES
19 if [ "$CONFIG_MODULES" = "y" ]; then
20    bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
21    bool '  Kernel module loader' CONFIG_KMOD
22 fi
23 endmenu
24
25 mainmenu_option next_comment
26 comment 'General setup'
27
28 bool 'Networking support' CONFIG_NET
29 bool 'System V IPC' CONFIG_SYSVIPC
30 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
31 bool 'Sysctl support' CONFIG_SYSCTL
32
33 bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
34
35 string 'Kernel command line' CONFIG_ETRAX_CMDLINE "root=/dev/mtdblock3"
36
37 bool 'Use kernel gdb debugger' CONFIG_ETRAX_KGDB
38
39 bool 'Use Artpec gdb debugger' CONFIG_ETRAX_AGDB
40
41 bool 'Enable ETRAX watchdog' CONFIG_ETRAX_WATCHDOG
42 if [ "$CONFIG_ETRAX_WATCHDOG" = "y" ]; then
43         bool '  Disable watchdog during Oops printouts' CONFIG_ETRAX_WATCHDOG_NICE_DOGGY
44 fi
45
46 bool 'Enable ETRAX interrupt debugging' CONFIG_ETRAX_DEBUG_INTERRUPT
47
48 bool 'Enable ETRAX fast timer API' CONFIG_ETRAX_FAST_TIMER
49 if [ "$CONFIG_ETRAX_FAST_TIMER" = "y" ]; then
50         bool '  Enable fast timer logging' CONFIG_ETRAX_FAST_TIMER_LOGGING
51         bool '  Enable fast timer debug' CONFIG_ETRAX_FAST_TIMER_DEBUG
52         bool '  Enable fast timer sanity checks' CONFIG_ETRAX_FAST_TIMER_SANITY_CHECKS
53 fi
54
55 bool 'Enable reboot at out of memory' CONFIG_OOM_REBOOT
56
57 endmenu
58
59 mainmenu_option next_comment
60 comment 'Hardware setup'
61
62 choice 'Processor type' \
63         "Etrax-100-LX-v1        CONFIG_ETRAX100LX       \
64          Etrax-100-LX-v2        CONFIG_ETRAX100LX_V2    \
65          Etrax-100-LX-for-xsim-simulator   CONFIG_SVINTO_SIM" Etrax-100-LX-v1
66
67 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
68
69 if [ "$CONFIG_ETRAX100LX" = "y" ]; then
70         define_bool CONFIG_CRIS_LOW_MAP y
71         define_hex  CONFIG_ETRAX_DRAM_VIRTUAL_BASE 60000000
72 else
73         define_hex  CONFIG_ETRAX_DRAM_VIRTUAL_BASE c0000000
74 fi
75
76 int 'DRAM size (dec, in MB)' CONFIG_ETRAX_DRAM_SIZE 8
77
78 int 'Buswidth of flash in bytes' CONFIG_ETRAX_FLASH_BUSWIDTH 2
79
80 choice 'Product LED port' \
81         "Port-PA-LEDs   CONFIG_ETRAX_PA_LEDS    \
82          Port-PB-LEDs   CONFIG_ETRAX_PB_LEDS    \
83          Port-CSP0-LEDs CONFIG_ETRAX_CSP0_LEDS  \
84          None   CONFIG_ETRAX_NO_LEDS" Port-PA-LEDs
85
86 if [ "$CONFIG_ETRAX_NO_LEDS" != "y" ]; then
87         int '  First green LED bit' CONFIG_ETRAX_LED1G 2
88         int '  First red LED bit' CONFIG_ETRAX_LED1R 3
89         int '  Second green LED bit' CONFIG_ETRAX_LED2G 4
90         int '  Second red LED bit' CONFIG_ETRAX_LED2R 5
91         int '  Third green LED bit' CONFIG_ETRAX_LED3G 2
92         int '  Third red LED bit' CONFIG_ETRAX_LED3R 2
93 fi
94
95 if [ "$CONFIG_ETRAX_CSP0_LEDS" = "y" ]; then
96         int '  Fourth red LED bit' CONFIG_ETRAX_LED4R 2
97         int '  Fourth green LED bit' CONFIG_ETRAX_LED4G 2
98         int '  Fifth red LED bit' CONFIG_ETRAX_LED5R 2
99         int '  Fifth green LED bit' CONFIG_ETRAX_LED5G 2
100         int '  Sixth red LED bit' CONFIG_ETRAX_LED6R 2
101         int '  Sixth green LED bit' CONFIG_ETRAX_LED6G 2
102         int '  Seventh red LED bit' CONFIG_ETRAX_LED7R 2
103         int '  Seventh green LED bit' CONFIG_ETRAX_LED7G 2
104         int '  Eigth yellow LED bit' CONFIG_ETRAX_LED8Y 2
105         int '  Ninth yellow LED bit' CONFIG_ETRAX_LED9Y 2
106         int '  Tenth yellow LED bit' CONFIG_ETRAX_LED10Y 2
107         int '  Eleventh yellow LED bit' CONFIG_ETRAX_LED11Y 2
108         int '  Twelfth red LED bit' CONFIG_ETRAX_LED12R 2
109 fi
110
111 choice 'Product debug-port' \
112         "Serial-0       CONFIG_ETRAX_DEBUG_PORT0        \
113          Serial-1       CONFIG_ETRAX_DEBUG_PORT1        \
114          Serial-2       CONFIG_ETRAX_DEBUG_PORT2        \
115          Serial-3       CONFIG_ETRAX_DEBUG_PORT3        \
116          disabled       CONFIG_ETRAX_DEBUG_PORT_NULL" Serial-0
117
118 choice 'Product rescue-port' \
119         "Serial-0       CONFIG_ETRAX_RESCUE_SER0        \
120          Serial-1       CONFIG_ETRAX_RESCUE_SER1        \
121          Serial-2       CONFIG_ETRAX_RESCUE_SER2        \
122          Serial-3       CONFIG_ETRAX_RESCUE_SER3" Serial-0
123
124 hex 'R_WAITSTATES' CONFIG_ETRAX_DEF_R_WAITSTATES 95a6
125 hex 'R_BUS_CONFIG' CONFIG_ETRAX_DEF_R_BUS_CONFIG 104
126
127 bool 'SDRAM support' CONFIG_ETRAX_SDRAM
128 if [ "$CONFIG_ETRAX_SDRAM" = "n" ]; then
129         hex '  R_DRAM_CONFIG' CONFIG_ETRAX_DEF_R_DRAM_CONFIG 1a200040
130         hex '  R_DRAM_TIMING' CONFIG_ETRAX_DEF_R_DRAM_TIMING 5611
131 fi
132
133 if [ "$CONFIG_ETRAX_SDRAM" = "y" ]; then
134         hex '  R_SDRAM_CONFIG' CONFIG_ETRAX_DEF_R_SDRAM_CONFIG d2fa7878
135         hex '  R_SDRAM_TIMING' CONFIG_ETRAX_DEF_R_SDRAM_TIMING 80004801
136 fi
137
138 hex 'R_PORT_PA_DIR' CONFIG_ETRAX_DEF_R_PORT_PA_DIR 1c
139 hex 'R_PORT_PA_DATA' CONFIG_ETRAX_DEF_R_PORT_PA_DATA 00
140 hex 'R_PORT_PB_CONFIG' CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG 00
141 hex 'R_PORT_PB_DIR' CONFIG_ETRAX_DEF_R_PORT_PB_DIR 00
142 hex 'R_PORT_PB_DATA' CONFIG_ETRAX_DEF_R_PORT_PB_DATA ff
143
144 bool 'Software Shutdown Support' CONFIG_ETRAX_SOFT_SHUTDOWN
145 if [ "$CONFIG_ETRAX_SOFT_SHUTDOWN" = "y" ]; then
146    int '  Shutdown bit on port CSP0' CONFIG_ETRAX_SHUTDOWN_BIT 12
147    int '  Power button bit on port G' CONFIG_ETRAX_POWERBUTTON_BIT 25
148 fi
149
150 endmenu
151
152 # bring in ETRAX built-in drivers
153
154 source arch/cris/drivers/Config.in
155
156 # standard linux drivers
157
158 source drivers/mtd/Config.in
159
160 source drivers/parport/Config.in
161
162 source drivers/pnp/Config.in
163
164 source drivers/block/Config.in
165
166 source drivers/md/Config.in
167
168 source drivers/pcmcia/Config.in
169 if [ "$CONFIG_PCMCIA" != "n" ]; then
170    define_bool CONFIG_VIRTUAL_BUS y
171 fi
172
173 if [ "$CONFIG_NET" = "y" ]; then
174   source net/Config.in
175 fi
176
177 source drivers/telephony/Config.in
178
179 mainmenu_option next_comment
180 comment 'ATA/IDE/MFM/RLL support'
181
182 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
183
184 if [ "$CONFIG_IDE" != "n" ]; then
185   source drivers/ide/Config.in
186 else
187   define_bool CONFIG_BLK_DEV_HD n
188 fi
189 endmenu
190
191 mainmenu_option next_comment
192 comment 'SCSI support'
193
194 tristate 'SCSI support' CONFIG_SCSI
195
196 if [ "$CONFIG_SCSI" != "n" ]; then
197   source drivers/scsi/Config.in
198 fi
199 endmenu
200
201 source drivers/ieee1394/Config.in
202
203 source drivers/message/i2o/Config.in
204
205 if [ "$CONFIG_NET" = "y" ]; then
206   mainmenu_option next_comment
207   comment 'Network device support'
208
209   bool 'Network device support' CONFIG_NETDEVICES
210   if [ "$CONFIG_NETDEVICES" = "y" ]; then
211     source drivers/net/Config.in
212       if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
213          source drivers/atm/Config.in
214       fi
215   fi
216   endmenu
217 fi
218
219 source net/ax25/Config.in
220
221 source net/irda/Config.in
222
223 mainmenu_option next_comment
224 comment 'ISDN subsystem'
225 if [ "$CONFIG_NET" != "n" ]; then
226    tristate 'ISDN support' CONFIG_ISDN
227    if [ "$CONFIG_ISDN" != "n" ]; then
228       source drivers/isdn/Config.in
229    fi
230 fi
231 endmenu
232
233 mainmenu_option next_comment
234 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
235
236 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
237 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
238    source drivers/cdrom/Config.in
239 fi
240 endmenu
241
242 #
243 # input before char - char/joystick depends on it. As does USB.
244 #
245 source drivers/input/Config.in
246 source drivers/char/Config.in
247
248 #source drivers/misc/Config.in
249
250 source drivers/media/Config.in
251
252 source fs/Config.in
253
254 mainmenu_option next_comment
255 comment 'Sound'
256
257 tristate 'Sound card support' CONFIG_SOUND
258 if [ "$CONFIG_SOUND" != "n" ]; then
259   source drivers/sound/Config.in
260 fi
261 endmenu
262
263 source drivers/usb/Config.in
264
265 mainmenu_option next_comment
266 comment 'Kernel hacking'
267
268 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
269 bool 'Kernel profiling support' CONFIG_PROFILE
270 if [ "$CONFIG_PROFILE" = "y" ]; then
271   int '  Profile shift count' CONFIG_PROFILE_SHIFT 2
272 fi
273
274 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
275
276 source crypto/Config.in
277 source lib/Config.in
278 endmenu