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