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