mlx4_en: Removing HW info from ethtool -i report.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / mn10300 / Kconfig
blob243bfa23fd5863c0d8198d61352b2c0a8db9812a
1 config MN10300
2         def_bool y
3         select HAVE_OPROFILE
4         select GENERIC_HARDIRQS
6 config AM33_2
7         def_bool n
9 config AM33_3
10         def_bool n
12 config AM34_2
13         def_bool n
14         select MN10300_HAS_ATOMIC_OPS_UNIT
15         select MN10300_HAS_CACHE_SNOOP
17 config ERRATUM_NEED_TO_RELOAD_MMUCTR
18         def_bool y if AM33_3 || AM34_2
20 config MMU
21         def_bool y
23 config HIGHMEM
24         def_bool n
26 config NUMA
27         def_bool n
29 config UID16
30         def_bool y
32 config RWSEM_GENERIC_SPINLOCK
33         def_bool y
35 config RWSEM_XCHGADD_ALGORITHM
36         bool
38 config GENERIC_CALIBRATE_DELAY
39         def_bool y
41 config GENERIC_CMOS_UPDATE
42         def_bool n
44 config GENERIC_FIND_NEXT_BIT
45         def_bool y
47 config GENERIC_HWEIGHT
48         def_bool y
50 config GENERIC_TIME
51         def_bool y
53 config GENERIC_CLOCKEVENTS
54         def_bool y
56 config GENERIC_CLOCKEVENTS_BUILD
57         def_bool y
58         depends on GENERIC_CLOCKEVENTS
60 config GENERIC_CLOCKEVENTS_BROADCAST
61         bool
63 config CEVT_MN10300
64        def_bool y
65        depends on GENERIC_CLOCKEVENTS
67 config CSRC_MN10300
68        def_bool y
69        depends on GENERIC_TIME
71 config GENERIC_BUG
72         def_bool y
74 config QUICKLIST
75         def_bool y
77 config ARCH_HAS_ILOG2_U32
78         def_bool y
80 config HOTPLUG_CPU
81         def_bool n
83 source "init/Kconfig"
85 source "kernel/Kconfig.freezer"
88 menu "Panasonic MN10300 system setup"
90 choice
91         prompt "Unit type"
92         default MN10300_UNIT_ASB2303
93         help
94           This option specifies board for which the kernel will be
95           compiled. It affects the external peripherals catered for.
97 config MN10300_UNIT_ASB2303
98         bool "ASB2303"
100 config MN10300_UNIT_ASB2305
101         bool "ASB2305"
103 config MN10300_UNIT_ASB2364
104         bool "ASB2364"
105         select SMSC911X_ARCH_HOOKS if SMSC911X
107 endchoice
109 choice
110         prompt "Processor support"
111         default MN10300_PROC_MN103E010
112         help
113           This option specifies the processor for which the kernel will be
114           compiled. It affects the on-chip peripherals catered for.
116 config MN10300_PROC_MN103E010
117         bool "MN103E010"
118         depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
119         select AM33_2
120         select MN10300_PROC_HAS_TTYSM0
121         select MN10300_PROC_HAS_TTYSM1
122         select MN10300_PROC_HAS_TTYSM2
124 config MN10300_PROC_MN2WS0050
125         bool "MN2WS0050"
126         depends on MN10300_UNIT_ASB2364
127         select AM34_2
128         select MN10300_PROC_HAS_TTYSM0
129         select MN10300_PROC_HAS_TTYSM1
130         select MN10300_PROC_HAS_TTYSM2
132 endchoice
134 config MN10300_HAS_ATOMIC_OPS_UNIT
135         def_bool n
136         help
137           This should be enabled if the processor has an atomic ops unit
138           capable of doing LL/SC equivalent operations.
140 config FPU
141         bool "FPU present"
142         default y
143         depends on MN10300_PROC_MN103E010 || MN10300_PROC_MN2WS0050
145 config LAZY_SAVE_FPU
146         bool "Save FPU state lazily"
147         default y
148         depends on FPU && !SMP
149         help
150           Enable this to be lazy in the saving of the FPU state to the owning
151           task's thread struct.  This is useful if most tasks on the system
152           don't use the FPU as only those tasks that use it will pass it
153           between them, and the state needn't be saved for a task that isn't
154           using it.
156           This can't be so easily used on SMP as the process that owns the FPU
157           state on a CPU may be currently running on another CPU, so for the
158           moment, it is disabled.
160 source "arch/mn10300/mm/Kconfig.cache"
162 config MN10300_TLB_USE_PIDR
163         def_bool y
165 menu "Memory layout options"
167 config KERNEL_RAM_BASE_ADDRESS
168         hex "Base address of kernel RAM"
169         default "0x90000000"
171 config INTERRUPT_VECTOR_BASE
172         hex "Base address of vector table"
173         default "0x90000000"
174         help
175           The base address of the vector table will be programmed into
176           the TBR register. It must be on 16MiB address boundary.
178 config KERNEL_TEXT_ADDRESS
179         hex "Base address of kernel"
180         default "0x90001000"
182 config KERNEL_ZIMAGE_BASE_ADDRESS
183         hex "Base address of compressed vmlinux image"
184         default "0x50700000"
186 config BOOT_STACK_OFFSET
187         hex
188         default "0xF00" if SMP
189         default "0xFF0" if !SMP
191 config BOOT_STACK_SIZE
192         hex
193         depends on SMP
194         default "0x100"
195 endmenu
197 config SMP
198         bool "Symmetric multi-processing support"
199         default y
200         select USE_GENERIC_SMP_HELPERS
201         depends on MN10300_PROC_MN2WS0038 || MN10300_PROC_MN2WS0050
202         ---help---
203           This enables support for systems with more than one CPU. If you have
204           a system with only one CPU, like most personal computers, say N. If
205           you have a system with more than one CPU, say Y.
207           If you say N here, the kernel will run on single and multiprocessor
208           machines, but will use only one CPU of a multiprocessor machine. If
209           you say Y here, the kernel will run on many, but not all,
210           singleprocessor machines. On a singleprocessor machine, the kernel
211           will run faster if you say N here.
213           See also <file:Documentation/i386/IO-APIC.txt>,
214           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
215           <http://www.tldp.org/docs.html#howto>.
217           If you don't know what to do here, say N.
219 config NR_CPUS
220         int
221         depends on SMP
222         default "2"
224 source "kernel/Kconfig.preempt"
226 config MN10300_CURRENT_IN_E2
227         bool "Hold current task address in E2 register"
228         depends on !SMP
229         default y
230         help
231           This option removes the E2/R2 register from the set available to gcc
232           for normal use and instead uses it to store the address of the
233           current process's task_struct whilst in the kernel.
235           This means the kernel doesn't need to calculate the address each time
236           "current" is used (take SP, AND with mask and dereference pointer
237           just to get the address), and instead can just use E2+offset
238           addressing each time.
240           This has no effect on userspace.
242 config MN10300_USING_JTAG
243         bool "Using JTAG to debug kernel"
244         default y
245         help
246           This options indicates that JTAG will be used to debug the kernel. It
247           suppresses the use of certain hardware debugging features, such as
248           single-stepping, which are taken over completely by the JTAG unit.
250 source "kernel/Kconfig.hz"
251 source "kernel/time/Kconfig"
253 config MN10300_RTC
254         bool "Using MN10300 RTC"
255         depends on MN10300_PROC_MN103E010 || MN10300_PROC_MN2WS0050
256         select GENERIC_CMOS_UPDATE
257         default n
258         help
259           This option enables support for the RTC, thus enabling time to be
260           tracked, even when system is powered down. This is available on-chip
261           on the MN103E010.
263 config MN10300_WD_TIMER
264         bool "Using MN10300 watchdog timer"
265         default y
266         help
267           This options indicates that the watchdog timer will be used.
269 config PCI
270         bool "Use PCI"
271         depends on MN10300_UNIT_ASB2305
272         default y
273         help
274           Some systems (such as the ASB2305) have PCI onboard. If you have one
275           of these boards and you wish to use the PCI facilities, say Y here.
277           The PCI-HOWTO, available from
278           <http://www.tldp.org/docs.html#howto>, contains valuable
279           information about which PCI hardware does work under Linux and which
280           doesn't.
282 source "drivers/pci/Kconfig"
284 source "drivers/pcmcia/Kconfig"
286 menu "MN10300 internal serial options"
288 config MN10300_PROC_HAS_TTYSM0
289         bool
290         default n
292 config MN10300_PROC_HAS_TTYSM1
293         bool
294         default n
296 config MN10300_PROC_HAS_TTYSM2
297         bool
298         default n
300 config MN10300_TTYSM
301         bool "Support for ttySM serial ports"
302         depends on MN10300
303         default y
304         select SERIAL_CORE
305         help
306           This option enables support for the on-chip serial ports that the
307           MN10300 has available.
309 config MN10300_TTYSM_CONSOLE
310         bool "Support for console on ttySM serial ports"
311         depends on MN10300_TTYSM
312         select SERIAL_CORE_CONSOLE
313         help
314           This option enables support for a console on the on-chip serial ports
315           that the MN10300 has available.
318 # /dev/ttySM0
320 config MN10300_TTYSM0
321         bool "Enable SIF0 (/dev/ttySM0)"
322         depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
323         help
324           Enable access to SIF0 through /dev/ttySM0 or gdb-stub
326 choice
327         prompt "Select the timer to supply the clock for SIF0"
328         default MN10300_TTYSM0_TIMER8
329         depends on MN10300_TTYSM0
331 config MN10300_TTYSM0_TIMER8
332         bool "Use timer 8 (16-bit)"
334 config MN10300_TTYSM0_TIMER2
335         bool "Use timer 2 (8-bit)"
337 endchoice
340 # /dev/ttySM1
342 config MN10300_TTYSM1
343         bool "Enable SIF1 (/dev/ttySM1)"
344         depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
345         help
346           Enable access to SIF1 through /dev/ttySM1 or gdb-stub
348 choice
349         prompt "Select the timer to supply the clock for SIF1"
350         default MN10300_TTYSM1_TIMER12 \
351                 if !(AM33_2 || AM33_3)
352         default MN10300_TTYSM1_TIMER9 \
353                 if AM33_2 || AM33_3
354         depends on MN10300_TTYSM1
356 config MN10300_TTYSM1_TIMER12
357         bool "Use timer 12 (16-bit)"
358         depends on !(AM33_2 || AM33_3)
360 config MN10300_TTYSM1_TIMER9
361         bool "Use timer 9 (16-bit)"
362         depends on AM33_2 || AM33_3
364 config MN10300_TTYSM1_TIMER3
365         bool "Use timer 3 (8-bit)"
366         depends on AM33_2 || AM33_3
368 endchoice
371 # /dev/ttySM2
373 config MN10300_TTYSM2
374         bool "Enable SIF2 (/dev/ttySM2)"
375         depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
376         help
377           Enable access to SIF2 through /dev/ttySM2 or gdb-stub
379 choice
380         prompt "Select the timer to supply the clock for SIF2"
381         default MN10300_TTYSM2_TIMER3 \
382                 if !(AM33_2 || AM33_3)
383         default MN10300_TTYSM2_TIMER10 \
384                 if AM33_2 || AM33_3
385         depends on MN10300_TTYSM2
387 config MN10300_TTYSM2_TIMER9
388         bool "Use timer 9 (16-bit)"
389         depends on !(AM33_2 || AM33_3)
391 config MN10300_TTYSM2_TIMER1
392         bool "Use timer 1 (8-bit)"
393         depends on !(AM33_2 || AM33_3)
395 config MN10300_TTYSM2_TIMER3
396         bool "Use timer 3 (8-bit)"
397         depends on !(AM33_2 || AM33_3)
399 config MN10300_TTYSM2_TIMER10
400         bool "Use timer 10 (16-bit)"
401         depends on AM33_2 || AM33_3
403 endchoice
405 config MN10300_TTYSM2_CTS
406         bool "Enable the use of the CTS line /dev/ttySM2"
407         depends on MN10300_TTYSM2 && AM33_2
409 endmenu
411 menu "Interrupt request priority options"
413 comment "[!] NOTE: A lower number/level indicates a higher priority (0 is highest, 6 is lowest)"
415 comment "____Non-maskable interrupt levels____"
416 comment "The following must be set to a higher priority than local_irq_disable() and on-chip serial"
418 config GDBSTUB_IRQ_LEVEL
419         int "GDBSTUB interrupt priority"
420         depends on GDBSTUB
421         range 0 1 if LINUX_CLI_LEVEL = 2
422         range 0 2 if LINUX_CLI_LEVEL = 3
423         range 0 3 if LINUX_CLI_LEVEL = 4
424         range 0 4 if LINUX_CLI_LEVEL = 5
425         range 0 5 if LINUX_CLI_LEVEL = 6
426         default 0
428 comment "The following must be set to a higher priority than local_irq_disable()"
430 config MN10300_SERIAL_IRQ_LEVEL
431         int "MN10300 on-chip serial interrupt priority"
432         depends on MN10300_TTYSM
433         range 1 1 if LINUX_CLI_LEVEL = 2
434         range 1 2 if LINUX_CLI_LEVEL = 3
435         range 1 3 if LINUX_CLI_LEVEL = 4
436         range 1 4 if LINUX_CLI_LEVEL = 5
437         range 1 5 if LINUX_CLI_LEVEL = 6
438         default 1
440 comment "-"
441 comment "____Maskable interrupt levels____"
443 config LINUX_CLI_LEVEL
444         int "The highest interrupt priority excluded by local_irq_disable() (2-6)"
445         range 2 6
446         default 2
447         help
448           local_irq_disable() doesn't actually disable maskable interrupts -
449           what it does is restrict the levels of interrupt which are permitted
450           (a lower level indicates a higher priority) by lowering the value in
451           EPSW.IM from 7.  Any interrupt is permitted for which the level is
452           lower than EPSW.IM.
454           Certain interrupts, such as GDBSTUB and virtual MN10300 on-chip
455           serial DMA interrupts are allowed to interrupt normal disabled
456           sections.
458 comment "The following must be set to a equal to or lower priority than LINUX_CLI_LEVEL"
460 config TIMER_IRQ_LEVEL
461         int "Kernel timer interrupt priority"
462         range LINUX_CLI_LEVEL 6
463         default 4
465 config PCI_IRQ_LEVEL
466         int "PCI interrupt priority"
467         depends on PCI
468         range LINUX_CLI_LEVEL 6
469         default 5
471 config ETHERNET_IRQ_LEVEL
472         int "Ethernet interrupt priority"
473         depends on SMC91X || SMC911X || SMSC911X
474         range LINUX_CLI_LEVEL 6
475         default 6
477 config EXT_SERIAL_IRQ_LEVEL
478         int "External serial port interrupt priority"
479         depends on SERIAL_8250
480         range LINUX_CLI_LEVEL 6
481         default 6
483 endmenu
485 source "mm/Kconfig"
487 menu "Power management options"
488 source kernel/power/Kconfig
489 endmenu
491 endmenu
494 menu "Executable formats"
496 source "fs/Kconfig.binfmt"
498 endmenu
500 source "net/Kconfig"
502 source "drivers/Kconfig"
504 source "fs/Kconfig"
506 source "arch/mn10300/Kconfig.debug"
508 source "security/Kconfig"
510 source "crypto/Kconfig"
512 source "lib/Kconfig"