2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
5 mainmenu_name "Linux/CRIS Kernel Configuration"
7 define_bool CONFIG_UID16 y
8 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
9 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
11 mainmenu_option next_comment
12 comment 'Code maturity level options'
13 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
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
25 mainmenu_option next_comment
26 comment 'General setup'
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
33 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
35 bool 'Use kernel gdb debugger' CONFIG_ETRAX_KGDB
37 bool 'Enable Etrax100 watchdog' CONFIG_ETRAX_WATCHDOG
38 if [ "$CONFIG_ETRAX_WATCHDOG" = "y" ]; then
39 bool 'Disable watchdog during Oops printouts' CONFIG_ETRAX_WATCHDOG_NICE_DOGGY
42 bool 'Enable ETRAX fast timer API' CONFIG_ETRAX_FAST_TIMER
46 mainmenu_option next_comment
47 comment 'Hardware setup'
49 choice 'Processor type' \
50 "Etrax-100-LX-v1 CONFIG_ETRAX100LX \
51 Etrax-100-LX-v2 CONFIG_ETRAX100LX_V2 \
52 Etrax-100-LX-for-xsim-simulator CONFIG_SVINTO_SIM" Etrax-100-LX-v1
54 # Etrax100 LX v1 has a MMU "feature" requiring a low mapping
56 if [ "$CONFIG_ETRAX100LX" = "y" ]; then
57 define_bool CONFIG_CRIS_LOW_MAP y
58 define_hex CONFIG_ETRAX_DRAM_VIRTUAL_BASE 60000000
60 define_hex CONFIG_ETRAX_DRAM_VIRTUAL_BASE c0000000
63 int 'DRAM size (dec, in MB)' CONFIG_ETRAX_DRAM_SIZE 8
65 int 'Buswidth of flash in bytes' CONFIG_ETRAX_FLASH_BUSWIDTH 2
67 string 'Root device name' CONFIG_ETRAX_ROOT_DEVICE "/dev/mtdblock3"
69 choice 'Product LED port' \
70 "Port-PA-LEDs CONFIG_ETRAX_PA_LEDS \
71 Port-PB-LEDs CONFIG_ETRAX_PB_LEDS \
72 Port-CSP0-LEDs CONFIG_ETRAX_CSP0_LEDS \
73 None CONFIG_ETRAX_NO_LEDS" Port-PA-LEDs
75 if [ "$CONFIG_ETRAX_NO_LEDS" != "y" ]; then
76 int ' First green LED bit' CONFIG_ETRAX_LED1G 2
77 int ' First red LED bit' CONFIG_ETRAX_LED1R 3
78 int ' Second green LED bit' CONFIG_ETRAX_LED2G 4
79 int ' Second red LED bit' CONFIG_ETRAX_LED2R 5
80 int ' Third green LED bit' CONFIG_ETRAX_LED3G 2
81 int ' Third red LED bit' CONFIG_ETRAX_LED3R 2
84 if [ "$CONFIG_ETRAX_CSP0_LEDS" = "y" ]; then
85 int ' Fourth red LED bit' CONFIG_ETRAX_LED4R 2
86 int ' Fourth green LED bit' CONFIG_ETRAX_LED4G 2
87 int ' Fifth red LED bit' CONFIG_ETRAX_LED5R 2
88 int ' Fifth green LED bit' CONFIG_ETRAX_LED5G 2
89 int ' Sixth red LED bit' CONFIG_ETRAX_LED6R 2
90 int ' Sixth green LED bit' CONFIG_ETRAX_LED6G 2
91 int ' Seventh red LED bit' CONFIG_ETRAX_LED7R 2
92 int ' Seventh green LED bit' CONFIG_ETRAX_LED7G 2
93 int ' Eigth yellow LED bit' CONFIG_ETRAX_LED8Y 2
94 int ' Ninth yellow LED bit' CONFIG_ETRAX_LED9Y 2
95 int ' Tenth yellow LED bit' CONFIG_ETRAX_LED10Y 2
96 int ' Eleventh yellow LED bit' CONFIG_ETRAX_LED11Y 2
97 int ' Twelfth red LED bit' CONFIG_ETRAX_LED12R 2
100 choice 'Product debug-port' \
101 "Serial-0 CONFIG_ETRAX_DEBUG_PORT0 \
102 Serial-1 CONFIG_ETRAX_DEBUG_PORT1 \
103 Serial-2 CONFIG_ETRAX_DEBUG_PORT2 \
104 Serial-3 CONFIG_ETRAX_DEBUG_PORT3 \
105 disabled CONFIG_ETRAX_DEBUG_PORT_NULL" Serial-0
107 choice 'Product rescue-port' \
108 "Serial-0 CONFIG_ETRAX_RESCUE_SER0 \
109 Serial-1 CONFIG_ETRAX_RESCUE_SER1 \
110 Serial-2 CONFIG_ETRAX_RESCUE_SER2 \
111 Serial-3 CONFIG_ETRAX_RESCUE_SER3" Serial-0
113 hex 'R_WAITSTATES' CONFIG_ETRAX_DEF_R_WAITSTATES 95a6
114 hex 'R_BUS_CONFIG' CONFIG_ETRAX_DEF_R_BUS_CONFIG 104
116 bool 'SDRAM support' CONFIG_ETRAX_SDRAM
117 if [ "$CONFIG_ETRAX_SDRAM" = "n" ]; then
118 hex 'R_DRAM_CONFIG' CONFIG_ETRAX_DEF_R_DRAM_CONFIG 1a200040
119 hex 'R_DRAM_TIMING' CONFIG_ETRAX_DEF_R_DRAM_TIMING 5611
122 if [ "$CONFIG_ETRAX_SDRAM" = "y" ]; then
123 hex 'R_SDRAM_CONFIG' CONFIG_ETRAX_DEF_R_SDRAM_CONFIG d2fa7878
124 hex 'R_SDRAM_TIMING' CONFIG_ETRAX_DEF_R_SDRAM_TIMING 80004801
127 hex 'R_PORT_PA_DIR' CONFIG_ETRAX_DEF_R_PORT_PA_DIR 1c
128 hex 'R_PORT_PA_DATA' CONFIG_ETRAX_DEF_R_PORT_PA_DATA 00
129 hex 'R_PORT_PB_CONFIG' CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG 00
130 hex 'R_PORT_PB_DIR' CONFIG_ETRAX_DEF_R_PORT_PB_DIR 00
131 hex 'R_PORT_PB_DATA' CONFIG_ETRAX_DEF_R_PORT_PB_DATA ff
133 bool 'Software Shutdown Support' CONFIG_ETRAX_SOFT_SHUTDOWN
134 if [ "$CONFIG_ETRAX_SOFT_SHUTDOWN" = "y" ]; then
135 int 'Shutdown bit on port CSP0' CONFIG_ETRAX_SHUTDOWN_BIT 12
136 int 'Power button bit on port G' CONFIG_ETRAX_POWERBUTTON_BIT 25
141 # bring in Etrax built-in drivers
143 source arch/cris/drivers/Config.in
145 # standard linux drivers
147 source drivers/mtd/Config.in
149 source drivers/parport/Config.in
151 source drivers/pnp/Config.in
153 source drivers/block/Config.in
155 source drivers/md/Config.in
157 source drivers/pcmcia/Config.in
158 if [ "$CONFIG_PCMCIA" != "n" ]; then
159 define_bool CONFIG_VIRTUAL_BUS y
162 if [ "$CONFIG_NET" = "y" ]; then
166 source drivers/telephony/Config.in
168 mainmenu_option next_comment
169 comment 'ATA/IDE/MFM/RLL support'
171 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
173 if [ "$CONFIG_IDE" != "n" ]; then
174 source drivers/ide/Config.in
176 define_bool CONFIG_BLK_DEV_IDE_MODES n
177 define_bool CONFIG_BLK_DEV_HD n
181 mainmenu_option next_comment
182 comment 'SCSI support'
184 tristate 'SCSI support' CONFIG_SCSI
186 if [ "$CONFIG_SCSI" != "n" ]; then
187 source drivers/scsi/Config.in
191 source drivers/ieee1394/Config.in
193 source drivers/message/i2o/Config.in
195 if [ "$CONFIG_NET" = "y" ]; then
196 mainmenu_option next_comment
197 comment 'Network device support'
199 bool 'Network device support' CONFIG_NETDEVICES
200 if [ "$CONFIG_NETDEVICES" = "y" ]; then
201 source drivers/net/Config.in
202 if [ "$CONFIG_ATM" = "y" ]; then
203 source drivers/atm/Config.in
209 source net/ax25/Config.in
211 source net/irda/Config.in
213 mainmenu_option next_comment
214 comment 'ISDN subsystem'
215 if [ "$CONFIG_NET" != "n" ]; then
216 tristate 'ISDN support' CONFIG_ISDN
217 if [ "$CONFIG_ISDN" != "n" ]; then
218 source drivers/isdn/Config.in
223 mainmenu_option next_comment
224 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
226 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
227 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
228 source drivers/cdrom/Config.in
233 # input before char - char/joystick depends on it. As does USB.
235 source drivers/input/Config.in
236 source drivers/char/Config.in
238 #source drivers/misc/Config.in
240 source drivers/media/Config.in
244 mainmenu_option next_comment
247 tristate 'Sound card support' CONFIG_SOUND
248 if [ "$CONFIG_SOUND" != "n" ]; then
249 source drivers/sound/Config.in
253 source drivers/usb/Config.in
255 mainmenu_option next_comment
256 comment 'Kernel hacking'
258 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
259 bool 'Kernel profiling support' CONFIG_PROFILE
260 if [ "$CONFIG_PROFILE" = "y" ]; then
261 int ' Profile shift count' CONFIG_PROFILE_SHIFT 2