container freezer: implement freezer cgroup subsystem
[safe/jmp/linux-2.6] / arch / sparc / Kconfig
1 # For a description of the syntax of this configuration file,
2 # see Documentation/kbuild/kconfig-language.txt.
3 #
4
5 mainmenu "Linux/SPARC Kernel Configuration"
6
7 config MMU
8         bool
9         default y
10
11 config HIGHMEM
12         bool
13         default y
14
15 config ZONE_DMA
16         bool
17         default y
18
19 config GENERIC_ISA_DMA
20         bool
21         default y
22
23 config GENERIC_GPIO
24         bool
25         help
26           Generic GPIO API support
27
28 config ARCH_NO_VIRT_TO_BUS
29         def_bool y
30
31 config OF
32         def_bool y
33
34 config HZ
35         int
36         default 100
37
38 source "init/Kconfig"
39
40 source "kernel/Kconfig.freezer"
41
42 menu "General machine setup"
43
44 config SMP
45         bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
46         ---help---
47           This enables support for systems with more than one CPU. If you have
48           a system with only one CPU, say N. If you have a system with more
49           than one CPU, say Y.
50
51           If you say N here, the kernel will run on single and multiprocessor
52           machines, but will use only one CPU of a multiprocessor machine. If
53           you say Y here, the kernel will run on many, but not all,
54           singleprocessor machines. On a singleprocessor machine, the kernel
55           will run faster if you say N here.
56
57           People using multiprocessor machines who say Y here should also say
58           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
59           Management" code will be disabled if you say Y here.
60
61           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
62           available at <http://www.tldp.org/docs.html#howto>.
63
64           If you don't know what to do here, say N.
65
66 config NR_CPUS
67         int "Maximum number of CPUs (2-32)"
68         range 2 32
69         depends on SMP
70         default "32"
71
72 config SPARC
73         bool
74         default y
75         select HAVE_IDE
76         select HAVE_OPROFILE
77         select HAVE_ARCH_KGDB if !SMP
78         select HAVE_ARCH_TRACEHOOK
79         select ARCH_WANT_OPTIONAL_GPIOLIB
80         select RTC_CLASS
81         select RTC_DRV_M48T59
82
83 # Identify this as a Sparc32 build
84 config SPARC32
85         bool
86         default y
87         help
88           SPARC is a family of RISC microprocessors designed and marketed by
89           Sun Microsystems, incorporated.  They are very widely found in Sun
90           workstations and clones. This port covers the original 32-bit SPARC;
91           it is old and stable and usually considered one of the "big three"
92           along with the Intel and Alpha ports.  The UltraLinux project
93           maintains both the SPARC32 and SPARC64 ports; its web page is
94           available at <http://www.ultralinux.org/>.
95
96 # Global things across all Sun machines.
97 config ISA
98         bool
99         help
100           ISA is found on Espresso only and is not supported currently.
101           Say N
102
103 config EISA
104         bool
105         help
106           EISA is not supported.
107           Say N
108
109 config MCA
110         bool
111         help
112           MCA is not supported.
113           Say N
114
115 config PCMCIA
116         tristate
117         ---help---
118           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
119           computer.  These are credit-card size devices such as network cards,
120           modems or hard drives often used with laptops computers.  There are
121           actually two varieties of these cards: the older 16 bit PCMCIA cards
122           and the newer 32 bit CardBus cards.  If you want to use CardBus
123           cards, you need to say Y here and also to "CardBus support" below.
124
125           To use your PC-cards, you will need supporting software from David
126           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
127           for location).  Please also read the PCMCIA-HOWTO, available from
128           <http://www.tldp.org/docs.html#howto>.
129
130           To compile this driver as modules, choose M here: the
131           modules will be called pcmcia_core and ds.
132
133 config SBUS
134         bool
135         default y
136
137 config SBUSCHAR
138         bool
139         default y
140
141 config SERIAL_CONSOLE
142         bool
143         default y
144         ---help---
145           If you say Y here, it will be possible to use a serial port as the
146           system console (the system console is the device which receives all
147           kernel messages and warnings and which allows logins in single user
148           mode). This could be useful if some terminal or printer is connected
149           to that serial port.
150
151           Even if you say Y here, the currently visible virtual console
152           (/dev/tty0) will still be used as the system console by default, but
153           you can alter that using a kernel command line option such as
154           "console=ttyS1". (Try "man bootparam" or see the documentation of
155           your boot loader (silo) about how to pass options to the kernel at
156           boot time.)
157
158           If you don't have a graphics card installed and you say Y here, the
159           kernel will automatically use the first serial line, /dev/ttyS0, as
160           system console.
161
162           If unsure, say N.
163
164 config SUN_AUXIO
165         bool
166         default y
167
168 config SUN_IO
169         bool
170         default y
171
172 config RWSEM_GENERIC_SPINLOCK
173         bool
174         default y
175
176 config RWSEM_XCHGADD_ALGORITHM
177         bool
178
179 config GENERIC_FIND_NEXT_BIT
180         bool
181         default y
182
183 config GENERIC_HWEIGHT
184         bool
185         default y
186
187 config GENERIC_CALIBRATE_DELAY
188         bool
189         default y
190
191 config ARCH_MAY_HAVE_PC_FDC
192         bool
193         default y
194
195 config ARCH_HAS_ILOG2_U32
196         bool
197         default n
198
199 config ARCH_HAS_ILOG2_U64
200         bool
201         default n
202
203 config EMULATED_CMPXCHG
204         bool
205         default y
206         help
207           Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
208           is emulated, and therefore it is not completely atomic.
209
210 config SUN_PM
211         bool
212         default y
213         help
214           Enable power management and CPU standby features on supported
215           SPARC platforms.
216
217 config PCI
218         bool "Support for PCI and PS/2 keyboard/mouse"
219         help
220           CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
221           CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
222           All of these platforms are extremely obscure, so say N if unsure.
223
224 config PCI_SYSCALL
225         def_bool PCI
226
227 source "drivers/pci/Kconfig"
228
229 config SUN_OPENPROMFS
230         tristate "Openprom tree appears in /proc/openprom"
231         help
232           If you say Y, the OpenPROM device tree will be available as a
233           virtual file system, which you can mount to /proc/openprom by "mount
234           -t openpromfs none /proc/openprom".
235
236           To compile the /proc/openprom support as a module, choose M here: the
237           module will be called openpromfs.
238
239           Only choose N if you know in advance that you will not need to modify
240           OpenPROM settings on the running system.
241
242 config SPARC_LED
243         tristate "Sun4m LED driver"
244         help
245           This driver toggles the front-panel LED on sun4m systems
246           in a user-specifiable manner.  Its state can be probed
247           by reading /proc/led and its blinking mode can be changed
248           via writes to /proc/led
249
250 source "fs/Kconfig.binfmt"
251
252 source "mm/Kconfig"
253
254 endmenu
255
256 source "net/Kconfig"
257
258 source "drivers/Kconfig"
259
260 source "drivers/sbus/char/Kconfig"
261
262 # This one must be before the filesystem configs. -DaveM
263
264 menu "Unix98 PTY support"
265
266 config UNIX98_PTYS
267         bool "Unix98 PTY support"
268         ---help---
269           A pseudo terminal (PTY) is a software device consisting of two
270           halves: a master and a slave. The slave device behaves identical to
271           a physical terminal; the master device is used by a process to
272           read data from and write data to the slave, thereby emulating a
273           terminal. Typical programs for the master side are telnet servers
274           and xterms.
275
276           Linux has traditionally used the BSD-like names /dev/ptyxx for
277           masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
278           has a number of problems. The GNU C library glibc 2.1 and later,
279           however, supports the Unix98 naming standard: in order to acquire a
280           pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
281           terminal is then made available to the process and the pseudo
282           terminal slave can be accessed as /dev/pts/<number>. What was
283           traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
284
285           The entries in /dev/pts/ are created on the fly by a virtual
286           file system; therefore, if you say Y here you should say Y to
287           "/dev/pts file system for Unix98 PTYs" as well.
288
289           If you want to say Y here, you need to have the C library glibc 2.1
290           or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
291           Read the instructions in <file:Documentation/Changes> pertaining to
292           pseudo terminals. It's safe to say N.
293
294 endmenu
295
296 source "fs/Kconfig"
297
298 source "arch/sparc/Kconfig.debug"
299
300 source "security/Kconfig"
301
302 source "crypto/Kconfig"
303
304 source "lib/Kconfig"