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