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