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