vmxnet3: remove unused irq_share_mode
[linux-2.6.git] / arch / cris / Kconfig
blobc59a01dd9c0c627ee4afc7060b90deb0606811c1
1 config MMU
2         bool
3         default y
5 config ZONE_DMA
6         bool
7         default y
9 config RWSEM_GENERIC_SPINLOCK
10         bool
11         default y
13 config RWSEM_XCHGADD_ALGORITHM
14         bool
16 config ARCH_HAS_ILOG2_U32
17         bool
18         default n
20 config ARCH_HAS_ILOG2_U64
21         bool
22         default n
24 config GENERIC_HWEIGHT
25         bool
26         default y
28 config GENERIC_CALIBRATE_DELAY
29         bool
30         default y
32 config NO_IOPORT
33         def_bool y
35 config FORCE_MAX_ZONEORDER
36         int
37         default 6
39 config CRIS
40         bool
41         default y
42         select HAVE_IDE
43         select GENERIC_ATOMIC64
44         select HAVE_GENERIC_HARDIRQS
45         select HAVE_UID16
46         select ARCH_WANT_IPC_PARSE_VERSION
47         select GENERIC_IRQ_SHOW
48         select GENERIC_IOMAP
49         select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
50         select GENERIC_CMOS_UPDATE
51         select MODULES_USE_ELF_RELA
52         select CLONE_BACKWARDS2
54 config HZ
55         int
56         default 100
58 source "init/Kconfig"
60 source "kernel/Kconfig.freezer"
62 menu "General setup"
64 source "fs/Kconfig.binfmt"
66 config ETRAX_CMDLINE
67         string "Kernel command line"
68         default "root=/dev/mtdblock3"
69         help
70           Pass additional commands to the kernel.
72 config ETRAX_WATCHDOG
73         bool "Enable ETRAX watchdog"
74         help
75           Enable the built-in watchdog timer support on ETRAX based embedded
76           network computers.
78 config ETRAX_WATCHDOG_NICE_DOGGY
79         bool "Disable watchdog during Oops printouts"
80         depends on ETRAX_WATCHDOG
81         help
82           By enabling this you make sure that the watchdog does not bite while
83           printing oopses. Recommended for development systems but not for
84           production releases.
86 config ETRAX_FAST_TIMER
87        bool "Enable ETRAX fast timer API"
88        help
89          This options enables the API to a fast timer implementation using
90          timer1 to get sub jiffie resolution timers (primarily one-shot
91          timers).
92          This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
94 config ETRAX_KMALLOCED_MODULES
95         bool "Enable module allocation with kmalloc"
96         help
97           Enable module allocation with kmalloc instead of vmalloc.
99 config OOM_REBOOT
100        bool "Enable reboot at out of memory"
102 source "kernel/Kconfig.preempt"
104 source mm/Kconfig
106 endmenu
108 menu "Hardware setup"
110 choice
111         prompt "Processor type"
112         default ETRAX100LX
114 config ETRAX100LX
115         bool "ETRAX-100LX-v1"
116         select ARCH_USES_GETTIMEOFFSET
117         help
118           Support version 1 of the ETRAX 100LX.
120 config ETRAX100LX_V2
121         bool "ETRAX-100LX-v2"
122         select ARCH_USES_GETTIMEOFFSET
123         help
124           Support version 2 of the ETRAX 100LX.
126 config SVINTO_SIM
127         bool "ETRAX-100LX-for-xsim-simulator"
128         select ARCH_USES_GETTIMEOFFSET
129         help
130           Support the xsim ETRAX Simulator.
132 config ETRAXFS
133         bool "ETRAX-FS-V32"
134         help
135           Support CRIS V32.
137 config CRIS_MACH_ARTPEC3
138         bool "ARTPEC-3"
139         help
140           Support Axis ARTPEC-3.
142 endchoice
144 config ETRAX_ARCH_V10
145        bool
146        default y if ETRAX100LX || ETRAX100LX_V2
147        default n if !(ETRAX100LX || ETRAX100LX_V2)
149 config ETRAX_ARCH_V32
150        bool
151        default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
152        default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
154 config ETRAX_DRAM_SIZE
155         int "DRAM size (dec, in MB)"
156         default "8"
157         help
158           Size of DRAM (decimal in MB) typically 2, 8 or 16.
160 config ETRAX_VMEM_SIZE
161        int "Video memory size (dec, in MB)"
162        depends on ETRAX_ARCH_V32 && !ETRAXFS
163        default 8 if !ETRAXFS
164        help
165         Size of Video accessible memory (decimal, in MB).
167 config ETRAX_FLASH_BUSWIDTH
168         int "Buswidth of NOR flash in bytes"
169         default "2"
170         help
171           Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
173 config ETRAX_NANDFLASH_BUSWIDTH
174         int "Buswidth of NAND flash in bytes"
175         default "1"
176         help
177           Width in bytes of the NAND flash (1 or 2).
179 config ETRAX_FLASH1_SIZE
180        int "FLASH1 size (dec, in MB. 0 = Unknown)"
181        default "0"
183 choice
184         prompt "Product debug-port"
185         default ETRAX_DEBUG_PORT0
187 config ETRAX_DEBUG_PORT0
188         bool "Serial-0"
189         help
190           Choose a serial port for the ETRAX debug console.  Default to
191           port 0.
193 config ETRAX_DEBUG_PORT1
194         bool "Serial-1"
195         help
196           Use serial port 1 for the console.
198 config ETRAX_DEBUG_PORT2
199         bool "Serial-2"
200         help
201           Use serial port 2 for the console.
203 config ETRAX_DEBUG_PORT3
204         bool "Serial-3"
205         help
206           Use serial port 3 for the console.
208 config ETRAX_DEBUG_PORT_NULL
209         bool "disabled"
210         help
211           Disable serial-port debugging.
213 endchoice
215 choice
216         prompt "Kernel GDB port"
217         depends on ETRAX_KGDB
218         default ETRAX_KGDB_PORT0
219         help
220           Choose a serial port for kernel debugging.  NOTE: This port should
221           not be enabled under Drivers for built-in interfaces (as it has its
222           own initialization code) and should not be the same as the debug port.
224 config ETRAX_KGDB_PORT0
225         bool "Serial-0"
226         help
227           Use serial port 0 for kernel debugging.
229 config ETRAX_KGDB_PORT1
230         bool "Serial-1"
231         help
232           Use serial port 1 for kernel debugging.
234 config ETRAX_KGDB_PORT2
235         bool "Serial-2"
236         help
237           Use serial port 2 for kernel debugging.
239 config ETRAX_KGDB_PORT3
240         bool "Serial-3"
241         help
242           Use serial port 3 for kernel debugging.
244 endchoice
246 source arch/cris/arch-v10/Kconfig
247 source arch/cris/arch-v32/Kconfig
249 endmenu
251 source "net/Kconfig"
253 # bring in ETRAX built-in drivers
254 menu "Drivers for built-in interfaces"
255 source arch/cris/arch-v10/drivers/Kconfig
256 source arch/cris/arch-v32/drivers/Kconfig
258 config ETRAX_AXISFLASHMAP
259         bool "Axis flash-map support"
260         select MTD
261         select MTD_CFI
262         select MTD_CFI_AMDSTD
263         select MTD_JEDECPROBE if ETRAX_ARCH_V32
264         select MTD_CHAR
265         select MTD_BLOCK
266         select MTD_COMPLEX_MAPPINGS
267         help
268           This option enables MTD mapping of flash devices.  Needed to use
269           flash memories.  If unsure, say Y.
271 config ETRAX_RTC
272         bool "Real Time Clock support"
273         depends on ETRAX_I2C
274         help
275           Enables drivers for the Real-Time Clock battery-backed chips on
276           some products. The kernel reads the time when booting, and
277           the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
278           rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
279           /dev/rtc device.  You can check the time with cat /proc/rtc, but
280           normal time reading should be done using libc function time and
281           friends.
283 choice
284         prompt "RTC chip"
285         depends on ETRAX_RTC
286         default ETRAX_DS1302
288 config ETRAX_DS1302
289         depends on ETRAX_ARCH_V10
290         bool "DS1302"
291         help
292           Enables the driver for the DS1302 Real-Time Clock battery-backed
293           chip on some products.
295 config ETRAX_PCF8563
296         bool "PCF8563"
297         help
298           Enables the driver for the PCF8563 Real-Time Clock battery-backed
299           chip on some products.
301 endchoice
303 config ETRAX_SYNCHRONOUS_SERIAL
304         bool "Synchronous serial-port support"
305         help
306           Select this to enable the synchronous serial port driver.
308 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
309         bool "Synchronous serial port 0 enabled"
310         depends on ETRAX_SYNCHRONOUS_SERIAL
311         help
312           Enabled synchronous serial port 0.
314 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
315         bool "Enable DMA on synchronous serial port 0."
316         depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
317         help
318           A synchronous serial port can run in manual or DMA mode.
319           Selecting this option will make it run in DMA mode.
321 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
322         bool "Synchronous serial port 1 enabled"
323         depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
324         help
325           Enabled synchronous serial port 1.
327 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
328         bool "Enable DMA on synchronous serial port 1."
329         depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
330         help
331           A synchronous serial port can run in manual or DMA mode.
332           Selecting this option will make it run in DMA mode.
334 choice
335         prompt "Network LED behavior"
336         depends on ETRAX_ETHERNET
337         default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
339 config ETRAX_NETWORK_LED_ON_WHEN_LINK
340         bool "LED_on_when_link"
341         help
342           Selecting LED_on_when_link will light the LED when there is a
343           connection and will flash off when there is activity.
345           Selecting LED_on_when_activity will light the LED only when
346           there is activity.
348           This setting will also affect the behaviour of other activity LEDs
349           e.g. Bluetooth.
351 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
352         bool "LED_on_when_activity"
353         help
354           Selecting LED_on_when_link will light the LED when there is a
355           connection and will flash off when there is activity.
357           Selecting LED_on_when_activity will light the LED only when
358           there is activity.
360           This setting will also affect the behaviour of other activity LEDs
361           e.g. Bluetooth.
363 endchoice
365 choice
366         prompt "Ser0 DMA out channel"
367         depends on ETRAX_SERIAL_PORT0
368         default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
369         default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
371 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
372         bool "Ser0 uses no DMA for output"
373         help
374           Do not use DMA for ser0 output.
376 config ETRAX_SERIAL_PORT0_DMA6_OUT
377         bool "Ser0 uses DMA6 for output"
378         depends on ETRAXFS
379         help
380           Enables the DMA6 output channel for ser0 (ttyS0).
381           If you do not enable DMA, an interrupt for each character will be
382           used when transmitting data.
383           Normally you want to use DMA, unless you use the DMA channel for
384           something else.
386 config ETRAX_SERIAL_PORT0_DMA0_OUT
387         bool "Ser0 uses DMA0 for output"
388         depends on CRIS_MACH_ARTPEC3
389         help
390           Enables the DMA0 output channel for ser0 (ttyS0).
391           If you do not enable DMA, an interrupt for each character will be
392           used when transmitting data.
393           Normally you want to use DMA, unless you use the DMA channel for
394           something else.
396 endchoice
398 choice
399         prompt "Ser0 DMA in channel "
400         depends on ETRAX_SERIAL_PORT0
401         default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
402         default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
403         help
404           What DMA channel to use for ser0.
406 config ETRAX_SERIAL_PORT0_NO_DMA_IN
407         bool "Ser0 uses no DMA for input"
408         help
409           Do not use DMA for ser0 input.
411 config ETRAX_SERIAL_PORT0_DMA7_IN
412         bool "Ser0 uses DMA7 for input"
413         depends on ETRAXFS
414         help
415           Enables the DMA7 input channel for ser0 (ttyS0).
416           If you do not enable DMA, an interrupt for each character will be
417           used when receiving data.
418           Normally you want to use DMA, unless you use the DMA channel for
419           something else.
421 config ETRAX_SERIAL_PORT0_DMA1_IN
422         bool "Ser0 uses DMA1 for input"
423         depends on CRIS_MACH_ARTPEC3
424         help
425           Enables the DMA1 input channel for ser0 (ttyS0).
426           If you do not enable DMA, an interrupt for each character will be
427           used when receiving data.
428           Normally you want to use DMA, unless you use the DMA channel for
429           something else.
431 endchoice
433 choice
434         prompt "Ser1 DMA in channel "
435         depends on ETRAX_SERIAL_PORT1
436         default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
437         default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
438         help
439           What DMA channel to use for ser1.
441 config ETRAX_SERIAL_PORT1_NO_DMA_IN
442         bool "Ser1 uses no DMA for input"
443         help
444           Do not use DMA for ser1 input.
446 config ETRAX_SERIAL_PORT1_DMA5_IN
447         bool "Ser1 uses DMA5 for input"
448         depends on ETRAX_ARCH_V32
449         help
450           Enables the DMA5 input channel for ser1 (ttyS1).
451           If you do not enable DMA, an interrupt for each character will be
452           used when receiving data.
453           Normally you want this on, unless you use the DMA channel for
454           something else.
456 config ETRAX_SERIAL_PORT1_DMA9_IN
457         depends on ETRAX_ARCH_V10
458         bool "Ser1 uses DMA9 for input"
460 endchoice
463 choice
464         prompt "Ser1 DMA out channel"
465         depends on ETRAX_SERIAL_PORT1
466         default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
467         default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
468         help
469           What DMA channel to use for ser1.
471 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
472         bool "Ser1 uses no DMA for output"
473         help
474           Do not use DMA for ser1 output.
476 config ETRAX_SERIAL_PORT1_DMA8_OUT
477         depends on ETRAX_ARCH_V10
478         bool "Ser1 uses DMA8 for output"
480 config ETRAX_SERIAL_PORT1_DMA4_OUT
481         depends on ETRAX_ARCH_V32
482         bool "Ser1 uses DMA4 for output"
483         help
484           Enables the DMA4 output channel for ser1 (ttyS1).
485           If you do not enable DMA, an interrupt for each character will be
486           used when transmitting data.
487           Normally you want this on, unless you use the DMA channel for
488           something else.
490 endchoice
492 choice
493         prompt "Ser2 DMA out channel"
494         depends on ETRAX_SERIAL_PORT2
495         default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
496         default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
498 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
499         bool "Ser2 uses no DMA for output"
500         help
501           Do not use DMA for ser2 output.
503 config ETRAX_SERIAL_PORT2_DMA2_OUT
504         bool "Ser2 uses DMA2 for output"
505         depends on ETRAXFS || ETRAX_ARCH_V10
506         help
507           Enables the DMA2 output channel for ser2 (ttyS2).
508           If you do not enable DMA, an interrupt for each character will be
509           used when transmitting data.
510           Normally you want to use DMA, unless you use the DMA channel for
511           something else.
513 config ETRAX_SERIAL_PORT2_DMA6_OUT
514         bool "Ser2 uses DMA6 for output"
515         depends on CRIS_MACH_ARTPEC3
516         help
517           Enables the DMA6 output channel for ser2 (ttyS2).
518           If you do not enable DMA, an interrupt for each character will be
519           used when transmitting data.
520           Normally you want to use DMA, unless you use the DMA channel for
521           something else.
523 endchoice
525 choice
526         prompt "Ser2 DMA in channel"
527         depends on ETRAX_SERIAL_PORT2
528         default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
529         default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
530         help
531           What DMA channel to use for ser2.
533 config ETRAX_SERIAL_PORT2_NO_DMA_IN
534         bool "Ser2 uses no DMA for input"
535         help
536           Do not use DMA for ser2 input.
538 config ETRAX_SERIAL_PORT2_DMA3_IN
539         bool "Ser2 uses DMA3 for input"
540         depends on ETRAXFS || ETRAX_ARCH_V10
541         help
542           Enables the DMA3 input channel for ser2 (ttyS2).
543           If you do not enable DMA, an interrupt for each character will be
544           used when receiving data.
545           Normally you want to use DMA, unless you use the DMA channel for
546           something else.
548 config ETRAX_SERIAL_PORT2_DMA7_IN
549         bool "Ser2 uses DMA7 for input"
550         depends on CRIS_MACH_ARTPEC3
551         help
552           Enables the DMA7 input channel for ser2 (ttyS2).
553           If you do not enable DMA, an interrupt for each character will be
554           used when receiving data.
555           Normally you want to use DMA, unless you use the DMA channel for
556           something else.
558 endchoice
560 choice
561         prompt "Ser3 DMA in channel"
562         depends on ETRAX_SERIAL_PORT3
563         default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
564         default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
565         help
566           What DMA channel to use for ser3.
568 config ETRAX_SERIAL_PORT3_NO_DMA_IN
569         bool "Ser3 uses no DMA for input"
570         help
571           Do not use DMA for ser3 input.
573 config ETRAX_SERIAL_PORT3_DMA5_IN
574         depends on ETRAX_ARCH_V10
575         bool "DMA 5"
577 config ETRAX_SERIAL_PORT3_DMA9_IN
578         bool "Ser3 uses DMA9 for input"
579         depends on ETRAXFS
580         help
581           Enables the DMA9 input channel for ser3 (ttyS3).
582           If you do not enable DMA, an interrupt for each character will be
583           used when receiving data.
584           Normally you want to use DMA, unless you use the DMA channel for
585           something else.
587 config ETRAX_SERIAL_PORT3_DMA3_IN
588         bool "Ser3 uses DMA3 for input"
589         depends on CRIS_MACH_ARTPEC3
590         help
591           Enables the DMA3 input channel for ser3 (ttyS3).
592           If you do not enable DMA, an interrupt for each character will be
593           used when receiving data.
594           Normally you want to use DMA, unless you use the DMA channel for
595           something else.
597 endchoice
599 choice
600         prompt "Ser3 DMA out channel"
601         depends on ETRAX_SERIAL_PORT3
602         default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
603         default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
605 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
606         bool "Ser3 uses no DMA for output"
607         help
608           Do not use DMA for ser3 output.
610 config ETRAX_SERIAL_PORT3_DMA4_OUT
611         depends on ETRAX_ARCH_V10
612         bool "DMA 4"
614 config ETRAX_SERIAL_PORT3_DMA8_OUT
615         bool "Ser3 uses DMA8 for output"
616         depends on ETRAXFS
617         help
618           Enables the DMA8 output channel for ser3 (ttyS3).
619           If you do not enable DMA, an interrupt for each character will be
620           used when transmitting data.
621           Normally you want to use DMA, unless you use the DMA channel for
622           something else.
624 config ETRAX_SERIAL_PORT3_DMA2_OUT
625         bool "Ser3 uses DMA2 for output"
626         depends on CRIS_MACH_ARTPEC3
627         help
628           Enables the DMA2 output channel for ser3 (ttyS3).
629           If you do not enable DMA, an interrupt for each character will be
630           used when transmitting data.
631           Normally you want to use DMA, unless you use the DMA channel for
632           something else.
634 endchoice
636 endmenu
638 source "drivers/base/Kconfig"
640 # standard linux drivers
641 source "drivers/mtd/Kconfig"
643 source "drivers/parport/Kconfig"
645 source "drivers/pnp/Kconfig"
647 source "drivers/block/Kconfig"
649 source "drivers/ide/Kconfig"
651 source "drivers/net/Kconfig"
653 source "drivers/i2c/Kconfig"
655 source "drivers/rtc/Kconfig"
658 # input before char - char/joystick depends on it. As does USB.
660 source "drivers/input/Kconfig"
662 source "drivers/char/Kconfig"
664 source "fs/Kconfig"
666 source "drivers/usb/Kconfig"
668 source "drivers/uwb/Kconfig"
670 source "drivers/staging/Kconfig"
672 source "arch/cris/Kconfig.debug"
674 source "security/Kconfig"
676 source "crypto/Kconfig"
678 source "lib/Kconfig"