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