Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | ||
1da177e4 LT |
11 | config HIGHMEM |
12 | bool | |
13 | default y | |
14 | ||
5ac6da66 CL |
15 | config ZONE_DMA |
16 | bool | |
17 | default y | |
18 | ||
1da177e4 LT |
19 | config GENERIC_ISA_DMA |
20 | bool | |
21 | default y | |
22 | ||
15df0f33 DM |
23 | config GENERIC_GPIO |
24 | bool | |
25 | help | |
26 | Generic GPIO API support | |
27 | ||
0785b9dc SR |
28 | config ARCH_NO_VIRT_TO_BUS |
29 | def_bool y | |
30 | ||
97e873e5 SR |
31 | config OF |
32 | def_bool y | |
33 | ||
bdc80787 PA |
34 | config HZ |
35 | int | |
36 | default 100 | |
37 | ||
1da177e4 LT |
38 | source "init/Kconfig" |
39 | ||
dc52ddc0 MH |
40 | source "kernel/Kconfig.freezer" |
41 | ||
1da177e4 LT |
42 | menu "General machine setup" |
43 | ||
1da177e4 LT |
44 | config SMP |
45 | bool "Symmetric multi-processing support (does not work on sun4/sun4c)" | |
1da177e4 LT |
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 | ||
03502faa AB |
61 | See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO |
62 | available at <http://www.tldp.org/docs.html#howto>. | |
1da177e4 LT |
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 | ||
0b57ee9e AB |
72 | config SPARC |
73 | bool | |
74 | default y | |
ec7748b5 | 75 | select HAVE_IDE |
42d4b839 | 76 | select HAVE_OPROFILE |
e2fdd7fd | 77 | select HAVE_ARCH_KGDB if !SMP |
04d91cb8 | 78 | select HAVE_ARCH_TRACEHOOK |
15df0f33 | 79 | select ARCH_WANT_OPTIONAL_GPIOLIB |
c4cbe6f9 DM |
80 | select RTC_CLASS |
81 | select RTC_DRV_M48T59 | |
0b57ee9e | 82 | |
1da177e4 LT |
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 | ||
d59288b7 AM |
179 | config GENERIC_FIND_NEXT_BIT |
180 | bool | |
181 | default y | |
182 | ||
183 | config GENERIC_HWEIGHT | |
184 | bool | |
185 | default y | |
186 | ||
1da177e4 LT |
187 | config GENERIC_CALIBRATE_DELAY |
188 | bool | |
189 | default y | |
190 | ||
a08b6b79 Z |
191 | config ARCH_MAY_HAVE_PC_FDC |
192 | bool | |
193 | default y | |
194 | ||
f0d1b0b3 DH |
195 | config ARCH_HAS_ILOG2_U32 |
196 | bool | |
197 | default n | |
198 | ||
199 | config ARCH_HAS_ILOG2_U64 | |
200 | bool | |
201 | default n | |
202 | ||
5f81941c MH |
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 | ||
1da177e4 LT |
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 | ||
1da177e4 LT |
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 | ||
36e23590 MW |
224 | config PCI_SYSCALL |
225 | def_bool PCI | |
226 | ||
1da177e4 LT |
227 | source "drivers/pci/Kconfig" |
228 | ||
1da177e4 LT |
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 | ||
ee1858d3 LK |
242 | config SPARC_LED |
243 | tristate "Sun4m LED driver" | |
244 | help | |
245 | This driver toggles the front-panel LED on sun4m systems | |
3cb2fccc ML |
246 | in a user-specifiable manner. Its state can be probed |
247 | by reading /proc/led and its blinking mode can be changed | |
ee1858d3 LK |
248 | via writes to /proc/led |
249 | ||
1da177e4 LT |
250 | source "fs/Kconfig.binfmt" |
251 | ||
30aaa808 WLII |
252 | source "mm/Kconfig" |
253 | ||
254 | endmenu | |
255 | ||
d5950b43 SR |
256 | source "net/Kconfig" |
257 | ||
30aaa808 | 258 | source "drivers/Kconfig" |
1da177e4 | 259 | |
1da177e4 | 260 | source "drivers/sbus/char/Kconfig" |
1da177e4 | 261 | |
1da177e4 LT |
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 | ||
1da177e4 LT |
294 | endmenu |
295 | ||
1da177e4 LT |
296 | source "fs/Kconfig" |
297 | ||
1da177e4 LT |
298 | source "arch/sparc/Kconfig.debug" |
299 | ||
300 | source "security/Kconfig" | |
301 | ||
302 | source "crypto/Kconfig" | |
303 | ||
304 | source "lib/Kconfig" |