Merge git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / m68k / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5config M68K
6 bool
7 default y
e17c6d56 8 select HAVE_AOUT
ec7748b5 9 select HAVE_IDE
1da177e4
LT
10
11config MMU
12 bool
13 default y
14
1da177e4
LT
15config RWSEM_GENERIC_SPINLOCK
16 bool
17 default y
18
19config RWSEM_XCHGADD_ALGORITHM
20 bool
21
f0d1b0b3
DH
22config ARCH_HAS_ILOG2_U32
23 bool
24 default n
25
26config ARCH_HAS_ILOG2_U64
27 bool
28 default n
29
ba1a5b32
AM
30config GENERIC_HWEIGHT
31 bool
32 default y
33
1da177e4
LT
34config GENERIC_CALIBRATE_DELAY
35 bool
36 default y
37
06027bdd
IM
38config TIME_LOW_RES
39 bool
40 default y
41
f9569e1d
AV
42config GENERIC_IOMAP
43 bool
44 default y
45
a08b6b79
AV
46config ARCH_MAY_HAVE_PC_FDC
47 bool
3f20a4ef 48 depends on BROKEN && (Q40 || SUN3X)
a08b6b79
AV
49 default y
50
5ea81769
AV
51config NO_IOPORT
52 def_bool y
53
dfedfaf5
AV
54config NO_DMA
55 def_bool SUN3
56
bdc80787
PA
57config HZ
58 int
59 default 100
60
4ad4c76b
JS
61config GENERIC_TIME
62 def_bool y
63
64config ARCH_USES_GETTIMEOFFSET
65 def_bool y
66
1da177e4
LT
67mainmenu "Linux/68k Kernel Configuration"
68
69source "init/Kconfig"
70
dc52ddc0
MH
71source "kernel/Kconfig.freezer"
72
1da177e4
LT
73menu "Platform dependent setup"
74
75config EISA
76 bool
77 ---help---
78 The Extended Industry Standard Architecture (EISA) bus was
79 developed as an open alternative to the IBM MicroChannel bus.
80
81 The EISA bus provided some of the features of the IBM MicroChannel
82 bus while maintaining backward compatibility with cards made for
83 the older ISA bus. The EISA bus saw limited use between 1988 and
84 1995 when it was made obsolete by the PCI bus.
85
86 Say Y here if you are building a kernel for an EISA-based machine.
87
88 Otherwise, say N.
89
90config MCA
91 bool
92 help
93 MicroChannel Architecture is found in some IBM PS/2 machines and
94 laptops. It is a bus system similar to PCI or ISA. See
95 <file:Documentation/mca.txt> (and especially the web page given
96 there) before attempting to build an MCA bus kernel.
97
98config PCMCIA
99 tristate
100 ---help---
101 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
102 computer. These are credit-card size devices such as network cards,
103 modems or hard drives often used with laptops computers. There are
104 actually two varieties of these cards: the older 16 bit PCMCIA cards
105 and the newer 32 bit CardBus cards. If you want to use CardBus
106 cards, you need to say Y here and also to "CardBus support" below.
107
108 To use your PC-cards, you will need supporting software from David
109 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
110 for location). Please also read the PCMCIA-HOWTO, available from
111 <http://www.tldp.org/docs.html#howto>.
112
113 To compile this driver as modules, choose M here: the
114 modules will be called pcmcia_core and ds.
115
1da177e4
LT
116config AMIGA
117 bool "Amiga support"
8c68383e 118 select MMU_MOTOROLA if MMU
1da177e4
LT
119 help
120 This option enables support for the Amiga series of computers. If
121 you plan to use this kernel on an Amiga, say Y here and browse the
122 material available in <file:Documentation/m68k>; otherwise say N.
123
124config ATARI
125 bool "Atari support"
8c68383e 126 select MMU_MOTOROLA if MMU
1da177e4
LT
127 help
128 This option enables support for the 68000-based Atari series of
129 computers (including the TT, Falcon and Medusa). If you plan to use
130 this kernel on an Atari, say Y here and browse the material
131 available in <file:Documentation/m68k>; otherwise say N.
132
1da177e4
LT
133config MAC
134 bool "Macintosh support"
8c68383e 135 select MMU_MOTOROLA if MMU
1da177e4
LT
136 help
137 This option enables support for the Apple Macintosh series of
138 computers (yes, there is experimental support now, at least for part
139 of the series).
140
141 Say N unless you're willing to code the remaining necessary support.
142 ;)
143
144config NUBUS
145 bool
146 depends on MAC
147 default y
148
149config M68K_L2_CACHE
150 bool
151 depends on MAC
152 default y
153
154config APOLLO
155 bool "Apollo support"
8c68383e 156 select MMU_MOTOROLA if MMU
1da177e4
LT
157 help
158 Say Y here if you want to run Linux on an MC680x0-based Apollo
159 Domain workstation such as the DN3500.
160
161config VME
162 bool "VME (Motorola and BVM) support"
8c68383e 163 select MMU_MOTOROLA if MMU
1da177e4
LT
164 help
165 Say Y here if you want to build a kernel for a 680x0 based VME
166 board. Boards currently supported include Motorola boards MVME147,
167 MVME162, MVME166, MVME167, MVME172, and MVME177. BVME4000 and
168 BVME6000 boards from BVM Ltd are also supported.
169
170config MVME147
171 bool "MVME147 support"
172 depends on VME
173 help
174 Say Y to include support for early Motorola VME boards. This will
175 build a kernel which can run on MVME147 single-board computers. If
176 you select this option you will have to select the appropriate
177 drivers for SCSI, Ethernet and serial ports later on.
178
179config MVME16x
180 bool "MVME162, 166 and 167 support"
181 depends on VME
182 help
183 Say Y to include support for Motorola VME boards. This will build a
184 kernel which can run on MVME162, MVME166, MVME167, MVME172, and
185 MVME177 boards. If you select this option you will have to select
186 the appropriate drivers for SCSI, Ethernet and serial ports later
187 on.
188
189config BVME6000
190 bool "BVME4000 and BVME6000 support"
191 depends on VME
192 help
193 Say Y to include support for VME boards from BVM Ltd. This will
194 build a kernel which can run on BVME4000 and BVME6000 boards. If
195 you select this option you will have to select the appropriate
196 drivers for SCSI, Ethernet and serial ports later on.
197
198config HP300
199 bool "HP9000/300 and HP9000/400 support"
8c68383e 200 select MMU_MOTOROLA if MMU
1da177e4
LT
201 help
202 This option enables support for the HP9000/300 and HP9000/400 series
203 of workstations. Support for these machines is still somewhat
204 experimental. If you plan to try to use the kernel on such a machine
205 say Y here.
206 Everybody else says N.
207
208config DIO
209 bool "DIO bus support"
210 depends on HP300
211 default y
212 help
213 Say Y here to enable support for the "DIO" expansion bus used in
214 HP300 machines. If you are using such a system you almost certainly
215 want this.
216
217config SUN3X
218 bool "Sun3x support"
8c68383e 219 select MMU_MOTOROLA if MMU
1da177e4
LT
220 select M68030
221 help
222 This option enables support for the Sun 3x series of workstations.
223 Be warned that this support is very experimental.
224 Note that Sun 3x kernels are not compatible with Sun 3 hardware.
225 General Linux information on the Sun 3x series (now discontinued)
226 is at <http://www.angelfire.com/ca2/tech68k/sun3.html>.
227
228 If you don't want to compile a kernel for a Sun 3x, say N.
229
230config Q40
231 bool "Q40/Q60 support"
8c68383e 232 select MMU_MOTOROLA if MMU
1da177e4
LT
233 help
234 The Q40 is a Motorola 68040-based successor to the Sinclair QL
235 manufactured in Germany. There is an official Q40 home page at
236 <http://www.q40.de/>. This option enables support for the Q40 and
237 Q60. Select your CPU below. For 68LC060 don't forget to enable FPU
238 emulation.
239
8c68383e
GU
240config SUN3
241 bool "Sun3 support"
242 depends on !MMU_MOTOROLA
243 select MMU_SUN3 if MMU
244 select M68020
245 help
246 This option enables support for the Sun 3 series of workstations
247 (3/50, 3/60, 3/1xx, 3/2xx systems). Enabling this option requires
248 that all other hardware types must be disabled, as Sun 3 kernels
249 are incompatible with all other m68k targets (including Sun 3x!).
250
251 If you don't want to compile a kernel exclusively for a Sun 3, say N.
252
1da177e4
LT
253comment "Processor type"
254
255config M68020
256 bool "68020 support"
257 help
258 If you anticipate running this kernel on a computer with a MC68020
259 processor, say Y. Otherwise, say N. Note that the 68020 requires a
260 68851 MMU (Memory Management Unit) to run Linux/m68k, except on the
261 Sun 3, which provides its own version.
262
263config M68030
264 bool "68030 support"
265 depends on !MMU_SUN3
266 help
267 If you anticipate running this kernel on a computer with a MC68030
268 processor, say Y. Otherwise, say N. Note that a MC68EC030 will not
269 work, as it does not include an MMU (Memory Management Unit).
270
271config M68040
272 bool "68040 support"
273 depends on !MMU_SUN3
274 help
275 If you anticipate running this kernel on a computer with a MC68LC040
276 or MC68040 processor, say Y. Otherwise, say N. Note that an
277 MC68EC040 will not work, as it does not include an MMU (Memory
278 Management Unit).
279
280config M68060
281 bool "68060 support"
282 depends on !MMU_SUN3
283 help
284 If you anticipate running this kernel on a computer with a MC68060
285 processor, say Y. Otherwise, say N.
286
287config MMU_MOTOROLA
288 bool
1da177e4
LT
289
290config MMU_SUN3
291 bool
8c68383e 292 depends on MMU && !MMU_MOTOROLA
1da177e4
LT
293
294config M68KFPU_EMU
295 bool "Math emulation support (EXPERIMENTAL)"
296 depends on EXPERIMENTAL
297 help
298 At some point in the future, this will cause floating-point math
299 instructions to be emulated by the kernel on machines that lack a
300 floating-point math coprocessor. Thrill-seekers and chronically
301 sleep-deprived psychotic hacker types can say Y now, everyone else
302 should probably wait a while.
303
304config M68KFPU_EMU_EXTRAPREC
305 bool "Math emulation extra precision"
306 depends on M68KFPU_EMU
307 help
308 The fpu uses normally a few bit more during calculations for
309 correct rounding, the emulator can (often) do the same but this
310 extra calculation can cost quite some time, so you can disable
311 it here. The emulator will then "only" calculate with a 64 bit
025dfdaf 312 mantissa and round slightly incorrect, what is more than enough
1da177e4
LT
313 for normal usage.
314
315config M68KFPU_EMU_ONLY
316 bool "Math emulation only kernel"
317 depends on M68KFPU_EMU
318 help
319 This option prevents any floating-point instructions from being
320 compiled into the kernel, thereby the kernel doesn't save any
321 floating point context anymore during task switches, so this
322 kernel will only be usable on machines without a floating-point
323 math coprocessor. This makes the kernel a bit faster as no tests
324 needs to be executed whether a floating-point instruction in the
325 kernel should be executed or not.
326
327config ADVANCED
328 bool "Advanced configuration options"
329 ---help---
330 This gives you access to some advanced options for the CPU. The
331 defaults should be fine for most users, but these options may make
332 it possible for you to improve performance somewhat if you know what
333 you are doing.
334
335 Note that the answer to this question won't directly affect the
336 kernel: saying N will just cause the configurator to skip all
337 the questions about these options.
338
339 Most users should say N to this question.
340
341config RMW_INSNS
342 bool "Use read-modify-write instructions"
343 depends on ADVANCED
344 ---help---
345 This allows to use certain instructions that work with indivisible
346 read-modify-write bus cycles. While this is faster than the
347 workaround of disabling interrupts, it can conflict with DMA
348 ( = direct memory access) on many Amiga systems, and it is also said
349 to destabilize other machines. It is very likely that this will
350 cause serious problems on any Amiga or Atari Medusa if set. The only
351 configuration where it should work are 68030-based Ataris, where it
352 apparently improves performance. But you've been warned! Unless you
353 really know what you are doing, say N. Try Y only if you're quite
354 adventurous.
355
356config SINGLE_MEMORY_CHUNK
12d810c1
RZ
357 bool "Use one physical chunk of memory only" if ADVANCED && !SUN3
358 default y if SUN3
359 select NEED_MULTIPLE_NODES
1da177e4
LT
360 help
361 Ignore all but the first contiguous chunk of physical memory for VM
362 purposes. This will save a few bytes kernel size and may speed up
363 some operations. Say N if not sure.
364
365config 060_WRITETHROUGH
366 bool "Use write-through caching for 68060 supervisor accesses"
367 depends on ADVANCED && M68060
368 ---help---
369 The 68060 generally uses copyback caching of recently accessed data.
370 Copyback caching means that memory writes will be held in an on-chip
371 cache and only written back to memory some time later. Saying Y
372 here will force supervisor (kernel) accesses to use writethrough
373 caching. Writethrough caching means that data is written to memory
374 straight away, so that cache and memory data always agree.
375 Writethrough caching is less efficient, but is needed for some
376 drivers on 68060 based systems where the 68060 bus snooping signal
377 is hardwired on. The 53c710 SCSI driver is known to suffer from
378 this problem.
379
12d810c1
RZ
380config ARCH_DISCONTIGMEM_ENABLE
381 def_bool !SINGLE_MEMORY_CHUNK
382
383config NODES_SHIFT
384 int
385 default "3"
386 depends on !SINGLE_MEMORY_CHUNK
387
3f22ab27
DH
388source "mm/Kconfig"
389
1da177e4
LT
390endmenu
391
392menu "General setup"
393
394source "fs/Kconfig.binfmt"
395
396config ZORRO
397 bool "Amiga Zorro (AutoConfig) bus support"
398 depends on AMIGA
399 help
400 This enables support for the Zorro bus in the Amiga. If you have
401 expansion cards in your Amiga that conform to the Amiga
402 AutoConfig(tm) specification, say Y, otherwise N. Note that even
403 expansion cards that do not fit in the Zorro slots but fit in e.g.
404 the CPU slot may fall in this category, so you have to say Y to let
405 Linux use these.
406
407config AMIGA_PCMCIA
408 bool "Amiga 1200/600 PCMCIA support (EXPERIMENTAL)"
409 depends on AMIGA && EXPERIMENTAL
410 help
411 Include support in the kernel for pcmcia on Amiga 1200 and Amiga
412 600. If you intend to use pcmcia cards say Y; otherwise say N.
413
1da177e4
LT
414config STRAM_PROC
415 bool "ST-RAM statistics in /proc"
416 depends on ATARI
417 help
f9c98d02 418 Say Y here to report ST-RAM usage statistics in /proc/stram.
1da177e4
LT
419
420config HEARTBEAT
421 bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40
422 default y if !AMIGA && !APOLLO && !ATARI && !MAC && !Q40 && HP300
423 help
424 Use the power-on LED on your machine as a load meter. The exact
425 behavior is platform-dependent, but normally the flash frequency is
426 a hyperbolic function of the 5-minute load average.
427
428# We have a dedicated heartbeat LED. :-)
429config PROC_HARDWARE
430 bool "/proc/hardware support"
431 help
432 Say Y here to support the /proc/hardware file, which gives you
433 access to information about the machine you're running on,
434 including the model, CPU, MMU, clock speed, BogoMIPS rating,
435 and memory size.
436
437config ISA
438 bool
439 depends on Q40 || AMIGA_PCMCIA || GG2
440 default y
441 help
442 Find out whether you have ISA slots on your motherboard. ISA is the
443 name of a bus system, i.e. the way the CPU talks to the other stuff
444 inside your box. Other bus systems are PCI, EISA, MicroChannel
445 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
446 newer boards don't support it. If you have ISA, say Y, otherwise N.
447
448config GENERIC_ISA_DMA
449 bool
450 depends on Q40 || AMIGA_PCMCIA || GG2
451 default y
452
5ac6da66
CL
453config ZONE_DMA
454 bool
455 default y
456
1da177e4
LT
457source "drivers/pci/Kconfig"
458
459source "drivers/zorro/Kconfig"
460
461endmenu
462
d5950b43
SR
463source "net/Kconfig"
464
1da177e4
LT
465source "drivers/Kconfig"
466
467menu "Character devices"
468
469config ATARI_MFPSER
470 tristate "Atari MFP serial support"
471 depends on ATARI
472 ---help---
473 If you like to use the MFP serial ports ("Modem1", "Serial1") under
474 Linux, say Y. The driver equally supports all kinds of MFP serial
475 ports and automatically detects whether Serial1 is available.
476
477 To compile this driver as a module, choose M here.
478
479 Note for Falcon users: You also have an MFP port, it's just not
480 wired to the outside... But you could use the port under Linux.
481
1da177e4
LT
482config ATARI_MIDI
483 tristate "Atari MIDI serial support"
484 depends on ATARI
485 help
486 If you want to use your Atari's MIDI port in Linux, say Y.
487
488 To compile this driver as a module, choose M here.
489
490config ATARI_DSP56K
491 tristate "Atari DSP56k support (EXPERIMENTAL)"
492 depends on ATARI && EXPERIMENTAL
493 help
494 If you want to be able to use the DSP56001 in Falcons, say Y. This
495 driver is still experimental, and if you don't know what it is, or
496 if you don't have this processor, just say N.
497
498 To compile this driver as a module, choose M here.
499
500config AMIGA_BUILTIN_SERIAL
501 tristate "Amiga builtin serial support"
502 depends on AMIGA
503 help
504 If you want to use your Amiga's built-in serial port in Linux,
505 answer Y.
506
507 To compile this driver as a module, choose M here.
508
1da177e4
LT
509config MULTIFACE_III_TTY
510 tristate "Multiface Card III serial support"
511 depends on AMIGA
512 help
513 If you want to use a Multiface III card's serial port in Linux,
514 answer Y.
515
516 To compile this driver as a module, choose M here.
517
518config GVPIOEXT
519 tristate "GVP IO-Extender support"
520 depends on PARPORT=n && ZORRO
521 help
522 If you want to use a GVP IO-Extender serial card in Linux, say Y.
523 Otherwise, say N.
524
525config GVPIOEXT_LP
526 tristate "GVP IO-Extender parallel printer support"
527 depends on GVPIOEXT
528 help
529 Say Y to enable driving a printer from the parallel port on your
530 GVP IO-Extender card, N otherwise.
531
532config GVPIOEXT_PLIP
533 tristate "GVP IO-Extender PLIP support"
534 depends on GVPIOEXT
535 help
536 Say Y to enable doing IP over the parallel port on your GVP
537 IO-Extender card, N otherwise.
538
1da177e4
LT
539config MAC_HID
540 bool
541 depends on INPUT_ADBHID
542 default y
543
1da177e4
LT
544config HPDCA
545 tristate "HP DCA serial support"
546 depends on DIO && SERIAL_8250
547 help
548 If you want to use the internal "DCA" serial ports on an HP300
549 machine, say Y here.
550
551config HPAPCI
552 tristate "HP APCI serial support"
553 depends on HP300 && SERIAL_8250 && EXPERIMENTAL
554 help
555 If you want to use the internal "APCI" serial ports on an HP400
556 machine, say Y here.
557
558config MVME147_SCC
559 bool "SCC support for MVME147 serial ports"
41214594 560 depends on MVME147 && BROKEN
1da177e4
LT
561 help
562 This is the driver for the serial ports on the Motorola MVME147
563 boards. Everyone using one of these boards should say Y here.
564
565config SERIAL167
566 bool "CD2401 support for MVME166/7 serial ports"
ea62aa1b 567 depends on MVME16x
1da177e4
LT
568 help
569 This is the driver for the serial ports on the Motorola MVME166,
570 167, and 172 boards. Everyone using one of these boards should say
571 Y here.
572
573config MVME162_SCC
574 bool "SCC support for MVME162 serial ports"
41214594 575 depends on MVME16x && BROKEN
1da177e4
LT
576 help
577 This is the driver for the serial ports on the Motorola MVME162 and
578 172 boards. Everyone using one of these boards should say Y here.
579
580config BVME6000_SCC
581 bool "SCC support for BVME6000 serial ports"
41214594 582 depends on BVME6000 && BROKEN
1da177e4
LT
583 help
584 This is the driver for the serial ports on the BVME4000 and BVME6000
585 boards from BVM Ltd. Everyone using one of these boards should say
586 Y here.
587
588config DN_SERIAL
589 bool "Support for DN serial port (dummy)"
590 depends on APOLLO
591
592config SERIAL_CONSOLE
593 bool "Support for serial port console"
80614e5a 594 depends on (AMIGA || ATARI || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_MIDI=y || AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y || SERIAL=y || MVME147_SCC || SERIAL167 || MVME162_SCC || BVME6000_SCC || DN_SERIAL)
1da177e4
LT
595 ---help---
596 If you say Y here, it will be possible to use a serial port as the
597 system console (the system console is the device which receives all
598 kernel messages and warnings and which allows logins in single user
599 mode). This could be useful if some terminal or printer is connected
600 to that serial port.
601
602 Even if you say Y here, the currently visible virtual console
603 (/dev/tty0) will still be used as the system console by default, but
604 you can alter that using a kernel command line option such as
605 "console=ttyS1". (Try "man bootparam" or see the documentation of
606 your boot loader (lilo or loadlin) about how to pass options to the
607 kernel at boot time.)
608
609 If you don't have a VGA card installed and you say Y here, the
610 kernel will automatically use the first serial line, /dev/ttyS0, as
611 system console.
612
613 If unsure, say N.
614
615endmenu
616
617source "fs/Kconfig"
618
619source "arch/m68k/Kconfig.debug"
620
621source "security/Kconfig"
622
623source "crypto/Kconfig"
624
625source "lib/Kconfig"