]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sparc64/Kconfig
rtc: Add TI BQ4802 RTC driver.
[net-next-2.6.git] / arch / sparc64 / Kconfig
CommitLineData
05d515ef
DM
1# sparc64 configuration
2mainmenu "Linux Kernel Configuration for 64-bit SPARC"
1da177e4 3
0b57ee9e
AB
4config SPARC
5 bool
6 default y
42d4b839 7 select HAVE_OPROFILE
3f550096 8 select HAVE_KPROBES
9edddaa2 9 select HAVE_KRETPROBES
0b57ee9e 10
5843e37e
DM
11config SPARC64
12 bool
13 default y
677aa9f7 14 select HAVE_DYNAMIC_FTRACE
d05f5f99 15 select HAVE_FTRACE
ec7748b5 16 select HAVE_IDE
d9b2b2a2 17 select HAVE_LMB
e2fdd7fd 18 select HAVE_ARCH_KGDB
d172ad18 19 select USE_GENERIC_SMP_HELPERS if SMP
76822586 20 select HAVE_ARCH_TRACEHOOK
15df0f33 21 select ARCH_WANT_OPTIONAL_GPIOLIB
90de9dea 22 select RTC_CLASS
1518e7ed 23 select RTC_DRV_M48T59
da86783d 24 select RTC_DRV_CMOS
5843e37e 25
112f4871
DM
26config GENERIC_TIME
27 bool
28 default y
29
82644459
TG
30config GENERIC_CMOS_UPDATE
31 bool
32 default y
33
112f4871
DM
34config GENERIC_CLOCKEVENTS
35 bool
36 default y
37
15df0f33
DM
38config GENERIC_GPIO
39 bool
40 help
41 Generic GPIO API support
42
1da177e4
LT
43config 64BIT
44 def_bool y
45
46config MMU
47 bool
48 default y
49
d284142c
DM
50config IOMMU_HELPER
51 bool
52 default y
53
3a2cba99
DM
54config QUICKLIST
55 bool
56 default y
57
10e26723
DM
58config STACKTRACE_SUPPORT
59 bool
60 default y
61
62config LOCKDEP_SUPPORT
63 bool
64 default y
65
a08b6b79
AV
66config ARCH_MAY_HAVE_PC_FDC
67 bool
68 default y
69
f0d1b0b3
DH
70config ARCH_HAS_ILOG2_U32
71 bool
72 default n
73
74config ARCH_HAS_ILOG2_U64
75 bool
76 default n
77
f6bc0c1c
AV
78config AUDIT_ARCH
79 bool
80 default y
81
988c388a 82config HAVE_SETUP_PER_CPU_AREA
b32ef636 83 def_bool y
84
0785b9dc
SR
85config ARCH_NO_VIRT_TO_BUS
86 def_bool y
87
97e873e5
SR
88config OF
89 def_bool y
90
8d57d3ad
DM
91config GENERIC_HARDIRQS_NO__DO_IRQ
92 bool
93 def_bool y
94
932d0613
RD
95source "init/Kconfig"
96
97menu "Processor type and features"
98
1da177e4
LT
99choice
100 prompt "Kernel page size"
101 default SPARC64_PAGE_SIZE_8KB
102
103config SPARC64_PAGE_SIZE_8KB
104 bool "8KB"
105 help
106 This lets you select the page size of the kernel.
107
05d515ef 108 8KB and 64KB work quite well, since SPARC ELF sections
1da177e4
LT
109 provide for up to 64KB alignment.
110
1da177e4
LT
111 If you don't know what to do, choose 8KB.
112
113config SPARC64_PAGE_SIZE_64KB
114 bool "64KB"
115
1da177e4
LT
116endchoice
117
bb49bcda
DM
118config SECCOMP
119 bool "Enable seccomp to safely compute untrusted bytecode"
120 depends on PROC_FS
121 default y
122 help
123 This kernel feature is useful for number crunching applications
124 that may need to compute untrusted bytecode during their
125 execution. By using pipes or other transports made available to
126 the process as file descriptors supporting the read/write
127 syscalls, it's possible to isolate those applications in
128 their own address space using seccomp. Once seccomp is
129 enabled via /proc/<pid>/seccomp, it cannot be disabled
130 and the task is only allowed to execute a few safe syscalls
131 defined by each seccomp mode.
132
133 If unsure, say Y. Only embedded should say N here.
134
a6524813
DM
135source kernel/Kconfig.hz
136
4f0234f4
DM
137config HOTPLUG_CPU
138 bool "Support for hot-pluggable CPUs"
139 depends on SMP
140 select HOTPLUG
05d515ef 141 help
4f0234f4
DM
142 Say Y here to experiment with turning CPUs off and on. CPUs
143 can be controlled through /sys/devices/system/cpu/cpu#.
144 Say N if you want to disable CPU hotplug.
145
e18e2a00
DM
146config GENERIC_HARDIRQS
147 bool
148 default y
149
112f4871
DM
150source "kernel/time/Kconfig"
151
1da177e4
LT
152config SMP
153 bool "Symmetric multi-processing support"
05d515ef 154 help
1da177e4
LT
155 This enables support for systems with more than one CPU. If you have
156 a system with only one CPU, say N. If you have a system with more than
157 one CPU, say Y.
158
159 If you say N here, the kernel will run on single and multiprocessor
160 machines, but will use only one CPU of a multiprocessor machine. If
05d515ef
DM
161 you say Y here, the kernel will run on single-processor machines.
162 On a single-processor machine, the kernel will run faster if you say
163 N here.
1da177e4
LT
164
165 If you don't know what to do here, say N.
166
1da177e4 167config NR_CPUS
22adb358
DM
168 int "Maximum number of CPUs (2-1024)"
169 range 2 1024
1da177e4 170 depends on SMP
22adb358 171 default "64"
1da177e4
LT
172
173source "drivers/cpufreq/Kconfig"
174
175config US3_FREQ
176 tristate "UltraSPARC-III CPU Frequency driver"
177 depends on CPU_FREQ
178 select CPU_FREQ_TABLE
179 help
180 This adds the CPUFreq driver for UltraSPARC-III processors.
181
182 For details, take a look at <file:Documentation/cpu-freq>.
183
184 If in doubt, say N.
185
186config US2E_FREQ
187 tristate "UltraSPARC-IIe CPU Frequency driver"
188 depends on CPU_FREQ
189 select CPU_FREQ_TABLE
190 help
191 This adds the CPUFreq driver for UltraSPARC-IIe processors.
192
193 For details, take a look at <file:Documentation/cpu-freq>.
194
195 If in doubt, say N.
196
41660e9a
DM
197config US3_MC
198 tristate "UltraSPARC-III Memory Controller driver"
199 default y
200 help
201 This adds a driver for the UltraSPARC-III memory controller.
202 Loading this driver allows exact mnemonic strings to be
203 printed in the event of a memory error, so that the faulty DIMM
204 on the motherboard can be matched to the error.
205
206 If in doubt, say Y, as this information can be very useful.
207
1da177e4 208# Global things across all Sun machines.
95c354fe
NP
209config GENERIC_LOCKBREAK
210 bool
211 default y
212 depends on SMP && PREEMPT
213
1da177e4
LT
214config RWSEM_GENERIC_SPINLOCK
215 bool
216
217config RWSEM_XCHGADD_ALGORITHM
218 bool
219 default y
220
2d78d4be
AM
221config GENERIC_FIND_NEXT_BIT
222 bool
223 default y
224
225config GENERIC_HWEIGHT
226 bool
227 default y if !ULTRA_HAS_POPULATION_COUNT
228
1da177e4
LT
229config GENERIC_CALIBRATE_DELAY
230 bool
231 default y
232
233choice
234 prompt "SPARC64 Huge TLB Page Size"
235 depends on HUGETLB_PAGE
236 default HUGETLB_PAGE_SIZE_4MB
237
238config HUGETLB_PAGE_SIZE_4MB
239 bool "4MB"
240
241config HUGETLB_PAGE_SIZE_512K
1da177e4
LT
242 bool "512K"
243
244config HUGETLB_PAGE_SIZE_64K
f7fe9334 245 depends on !SPARC64_PAGE_SIZE_64KB
1da177e4
LT
246 bool "64K"
247
248endchoice
249
5843e37e
DM
250endmenu
251
919ee677
DM
252config NUMA
253 bool "NUMA support"
254
255config NODES_SHIFT
256 int
257 default "4"
258 depends on NEED_MULTIPLE_NODES
259
260# Some NUMA nodes have memory ranges that span
261# other nodes. Even though a pfn is valid and
262# between a node's start and end pfns, it may not
263# reside on that node. See memmap_init_zone()
264# for details.
265config NODES_SPAN_OTHER_NODES
266 def_bool y
267 depends on NEED_MULTIPLE_NODES
268
269config ARCH_POPULATES_NODE_MAP
270 def_bool y
271
68491d58
DM
272config ARCH_SELECT_MEMORY_MODEL
273 def_bool y
274
d1112018
DM
275config ARCH_SPARSEMEM_ENABLE
276 def_bool y
46644c24 277 select SPARSEMEM_VMEMMAP_ENABLE
d1112018
DM
278
279config ARCH_SPARSEMEM_DEFAULT
280 def_bool y
281
5843e37e
DM
282source "mm/Kconfig"
283
1da177e4
LT
284config ISA
285 bool
1da177e4
LT
286
287config ISAPNP
288 bool
1da177e4
LT
289
290config EISA
291 bool
1da177e4
LT
292
293config MCA
294 bool
1da177e4
LT
295
296config PCMCIA
297 tristate
05d515ef 298 help
1da177e4
LT
299 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
300 computer. These are credit-card size devices such as network cards,
301 modems or hard drives often used with laptops computers. There are
302 actually two varieties of these cards: the older 16 bit PCMCIA cards
303 and the newer 32 bit CardBus cards. If you want to use CardBus
304 cards, you need to say Y here and also to "CardBus support" below.
305
306 To use your PC-cards, you will need supporting software from David
307 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
308 for location). Please also read the PCMCIA-HOWTO, available from
309 <http://www.tldp.org/docs.html#howto>.
310
311 To compile this driver as modules, choose M here: the
312 modules will be called pcmcia_core and ds.
313
314config SBUS
315 bool
316 default y
317
318config SBUSCHAR
319 bool
320 default y
321
322config SUN_AUXIO
323 bool
324 default y
325
326config SUN_IO
327 bool
328 default y
329
e53e97ce
DM
330config SUN_LDOMS
331 bool "Sun Logical Domains support"
332 help
333 Say Y here is you want to support virtual devices via
334 Logical Domains.
335
1da177e4
LT
336config PCI
337 bool "PCI support"
f282b970 338 select ARCH_SUPPORTS_MSI
1da177e4 339 help
05d515ef
DM
340 Find out whether your system includes a PCI bus. PCI is the name of
341 a bus system, i.e. the way the CPU talks to the other stuff inside
342 your box. If you say Y here, the kernel will include drivers and
343 infrastructure code to support PCI bus devices.
1da177e4 344
1da177e4 345config PCI_DOMAINS
36e23590
MW
346 def_bool PCI
347
348config PCI_SYSCALL
349 def_bool PCI
1da177e4 350
1da177e4
LT
351source "drivers/pci/Kconfig"
352
353config SUN_OPENPROMFS
354 tristate "Openprom tree appears in /proc/openprom"
355 help
356 If you say Y, the OpenPROM device tree will be available as a
357 virtual file system, which you can mount to /proc/openprom by "mount
358 -t openpromfs none /proc/openprom".
359
360 To compile the /proc/openprom support as a module, choose M here: the
361 module will be called openpromfs. If unsure, choose M.
362
ec98c6b9
DM
363menu "Executable file formats"
364
365source "fs/Kconfig.binfmt"
366
1da177e4
LT
367config COMPAT
368 bool
1da177e4 369 default y
48c946a4 370 select COMPAT_BINFMT_ELF
1da177e4 371
ec98c6b9
DM
372config SYSVIPC_COMPAT
373 bool
374 depends on COMPAT && SYSVIPC
375 default y
1da177e4 376
5843e37e 377endmenu
1da177e4 378
8935dced
DM
379config SCHED_SMT
380 bool "SMT (Hyperthreading) scheduler support"
381 depends on SMP
382 default y
383 help
384 SMT scheduler support improves the CPU scheduler's decision making
05d515ef
DM
385 when dealing with SPARC cpus at a cost of slightly increased overhead
386 in some places. If unsure say N here.
8935dced 387
f78eae2e
DM
388config SCHED_MC
389 bool "Multi-core scheduler support"
390 depends on SMP
391 default y
392 help
393 Multi-core scheduler support improves the CPU scheduler's decision
394 making when dealing with multi-core CPU chips at a cost of slightly
395 increased overhead in some places. If unsure say N here.
396
db2f9f6d
DM
397source "kernel/Kconfig.preempt"
398
1da177e4
LT
399config CMDLINE_BOOL
400 bool "Default bootloader kernel arguments"
401
402config CMDLINE
403 string "Initial kernel command string"
404 depends on CMDLINE_BOOL
405 default "console=ttyS0,9600 root=/dev/sda1"
406 help
407 Say Y here if you want to be able to pass default arguments to
408 the kernel. This will be overridden by the bootloader, if you
409 use one (such as SILO). This is most useful if you want to boot
410 a kernel from TFTP, and want default options to be available
411 with having them passed on the command line.
412
413 NOTE: This option WILL override the PROM bootargs setting!
414
d5950b43
SR
415source "net/Kconfig"
416
5843e37e 417source "drivers/Kconfig"
1da177e4
LT
418
419source "drivers/sbus/char/Kconfig"
420
1da177e4
LT
421source "fs/Kconfig"
422
1da177e4
LT
423source "arch/sparc64/Kconfig.debug"
424
425source "security/Kconfig"
426
427source "crypto/Kconfig"
428
429source "lib/Kconfig"