Pull error-inject into release branch
[sfrench/cifs-2.6.git] / arch / cris / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
4 #
5
6 mainmenu "Linux/CRIS Kernel Configuration"
7
8 config MMU
9         bool
10         default y
11
12 config ZONE_DMA
13         bool
14         default y
15
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18         default y
19
20 config RWSEM_XCHGADD_ALGORITHM
21         bool
22
23 config ARCH_HAS_ILOG2_U32
24         bool
25         default n
26
27 config ARCH_HAS_ILOG2_U64
28         bool
29         default n
30
31 config GENERIC_FIND_NEXT_BIT
32         bool
33         default y
34
35 config GENERIC_HWEIGHT
36         bool
37         default y
38
39 config GENERIC_CALIBRATE_DELAY
40         bool
41         default y
42
43 config IRQ_PER_CPU
44         bool
45         default y
46
47 config NO_IOPORT
48         def_bool y
49
50 config CRIS
51         bool
52         default y
53
54 source "init/Kconfig"
55
56 menu "General setup"
57
58 source "fs/Kconfig.binfmt"
59
60 config ETRAX_CMDLINE
61         string "Kernel command line"
62         default "root=/dev/mtdblock3"
63         help
64           Pass additional commands to the kernel.
65
66 config ETRAX_WATCHDOG
67         bool "Enable ETRAX watchdog"
68         help
69           Enable the built-in watchdog timer support on ETRAX based embedded
70           network computers.
71
72 config ETRAX_WATCHDOG_NICE_DOGGY
73         bool "Disable watchdog during Oops printouts"
74         depends on ETRAX_WATCHDOG
75         help
76           By enabling this you make sure that the watchdog does not bite while
77           printing oopses. Recommended for development systems but not for
78           production releases.
79
80 config ETRAX_FAST_TIMER
81        bool "Enable ETRAX fast timer API"
82        help
83          This options enables the API to a fast timer implementation using
84          timer1 to get sub jiffie resolution timers (primarily one-shot
85          timers).
86          This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
87
88 config PREEMPT
89         bool "Preemptible Kernel"
90         help
91           This option reduces the latency of the kernel when reacting to
92           real-time or interactive events by allowing a low priority process to
93           be preempted even if it is in kernel mode executing a system call.
94           This allows applications to run more reliably even when the system is
95           under load.
96
97           Say Y here if you are building a kernel for a desktop, embedded
98           or real-time system.  Say N if you are unsure.
99
100 source mm/Kconfig
101
102 endmenu
103
104 menu "Hardware setup"
105
106 choice
107         prompt "Processor type"
108         default ETRAX100LX
109
110 config ETRAX100LX
111         bool "ETRAX-100LX-v1"
112         help
113           Support version 1 of the ETRAX 100LX.
114
115 config ETRAX100LX_V2
116         bool "ETRAX-100LX-v2"
117         help
118           Support version 2 of the ETRAX 100LX.
119
120 config SVINTO_SIM
121         bool "ETRAX-100LX-for-xsim-simulator"
122         help
123           Support the xsim ETRAX Simulator.
124
125 endchoice
126
127 config ETRAX_ARCH_V10
128        bool
129        default y if ETRAX100LX || ETRAX100LX_V2
130        default n if !(ETRAX100LX || ETRAX100LX_V2)
131
132 config ETRAX_DRAM_SIZE
133         int "DRAM size (dec, in MB)"
134         default "8"
135         help
136           Size of DRAM (decimal in MB) typically 2, 8 or 16.
137
138 config ETRAX_FLASH_BUSWIDTH
139         int "Buswidth of flash in bytes"
140         default "2"
141         help
142           Width in bytes of the Flash bus (1, 2 or 4). Is usually 2.
143
144 source arch/cris/arch-v10/Kconfig
145
146 endmenu
147
148 source "net/Kconfig"
149
150 # bring in ETRAX built-in drivers
151 menu "Drivers for built-in interfaces"
152 source arch/cris/arch-v10/drivers/Kconfig
153
154 endmenu
155
156 source "drivers/base/Kconfig"
157
158 # standard linux drivers
159 source "drivers/mtd/Kconfig"
160
161 source "drivers/parport/Kconfig"
162
163 source "drivers/pnp/Kconfig"
164
165 source "drivers/block/Kconfig"
166
167 source "drivers/md/Kconfig"
168
169 source "drivers/ide/Kconfig"
170
171 source "drivers/scsi/Kconfig"
172
173 source "drivers/ieee1394/Kconfig"
174
175 source "drivers/message/i2o/Kconfig"
176
177 source "drivers/net/Kconfig"
178
179 source "drivers/isdn/Kconfig"
180
181 source "drivers/telephony/Kconfig"
182
183 source "drivers/cdrom/Kconfig"
184
185 #
186 # input before char - char/joystick depends on it. As does USB.
187 #
188 source "drivers/input/Kconfig"
189
190 source "drivers/char/Kconfig"
191
192 #source drivers/misc/Config.in
193 source "drivers/media/Kconfig"
194
195 source "fs/Kconfig"
196
197 source "sound/Kconfig"
198
199 source "drivers/usb/Kconfig"
200
201 source "arch/cris/Kconfig.debug"
202
203 source "security/Kconfig"
204
205 source "crypto/Kconfig"
206
207 source "lib/Kconfig"