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