xref: /openbmc/linux/arch/sparc/Kconfig (revision 367b8112)
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
40source "kernel/Kconfig.freezer"
41
42menu "General machine setup"
43
44config 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
66config NR_CPUS
67	int "Maximum number of CPUs (2-32)"
68	range 2 32
69	depends on SMP
70	default "32"
71
72config 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
84config 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.
97config ISA
98	bool
99	help
100	  ISA is found on Espresso only and is not supported currently.
101	  Say N
102
103config EISA
104	bool
105	help
106	  EISA is not supported.
107	  Say N
108
109config MCA
110	bool
111	help
112	  MCA is not supported.
113	  Say N
114
115config 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
133config SBUS
134	bool
135	default y
136
137config SBUSCHAR
138	bool
139	default y
140
141config 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
164config SUN_AUXIO
165	bool
166	default y
167
168config SUN_IO
169	bool
170	default y
171
172config RWSEM_GENERIC_SPINLOCK
173	bool
174	default y
175
176config RWSEM_XCHGADD_ALGORITHM
177	bool
178
179config GENERIC_FIND_NEXT_BIT
180	bool
181	default y
182
183config GENERIC_HWEIGHT
184	bool
185	default y
186
187config GENERIC_CALIBRATE_DELAY
188	bool
189	default y
190
191config ARCH_MAY_HAVE_PC_FDC
192	bool
193	default y
194
195config ARCH_HAS_ILOG2_U32
196	bool
197	default n
198
199config ARCH_HAS_ILOG2_U64
200	bool
201	default n
202
203config 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
210config SUN_PM
211	bool
212	default y
213	help
214	  Enable power management and CPU standby features on supported
215	  SPARC platforms.
216
217config 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
224config PCI_SYSCALL
225	def_bool PCI
226
227source "drivers/pci/Kconfig"
228
229config 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
242config 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
250source "fs/Kconfig.binfmt"
251
252source "mm/Kconfig"
253
254endmenu
255
256source "net/Kconfig"
257
258source "drivers/Kconfig"
259
260source "drivers/sbus/char/Kconfig"
261
262# This one must be before the filesystem configs. -DaveM
263
264menu "Unix98 PTY support"
265
266config 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
294endmenu
295
296source "fs/Kconfig"
297
298source "arch/sparc/Kconfig.debug"
299
300source "security/Kconfig"
301
302source "crypto/Kconfig"
303
304source "lib/Kconfig"
305