Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. # $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $
  2. # For a description of the syntax of this configuration file,
  3. # see the Configure script.
  4. #
  5. mainmenu "Linux/UltraSPARC Kernel Configuration"
  6. config SPARC
  7. bool
  8. default y
  9. config SPARC64
  10. bool
  11. default y
  12. help
  13. SPARC is a family of RISC microprocessors designed and marketed by
  14. Sun Microsystems, incorporated. This port covers the newer 64-bit
  15. UltraSPARC. The UltraLinux project maintains both the SPARC32 and
  16. SPARC64 ports; its web page is available at
  17. <http://www.ultralinux.org/>.
  18. config GENERIC_TIME
  19. bool
  20. default y
  21. config GENERIC_CLOCKEVENTS
  22. bool
  23. default y
  24. config 64BIT
  25. def_bool y
  26. config MMU
  27. bool
  28. default y
  29. config STACKTRACE_SUPPORT
  30. bool
  31. default y
  32. config LOCKDEP_SUPPORT
  33. bool
  34. default y
  35. config ARCH_MAY_HAVE_PC_FDC
  36. bool
  37. default y
  38. config ARCH_HAS_ILOG2_U32
  39. bool
  40. default n
  41. config ARCH_HAS_ILOG2_U64
  42. bool
  43. default n
  44. config AUDIT_ARCH
  45. bool
  46. default y
  47. choice
  48. prompt "Kernel page size"
  49. default SPARC64_PAGE_SIZE_8KB
  50. config SPARC64_PAGE_SIZE_8KB
  51. bool "8KB"
  52. help
  53. This lets you select the page size of the kernel.
  54. 8KB and 64KB work quite well, since Sparc ELF sections
  55. provide for up to 64KB alignment.
  56. Therefore, 512KB and 4MB are for expert hackers only.
  57. If you don't know what to do, choose 8KB.
  58. config SPARC64_PAGE_SIZE_64KB
  59. bool "64KB"
  60. config SPARC64_PAGE_SIZE_512KB
  61. bool "512KB"
  62. config SPARC64_PAGE_SIZE_4MB
  63. bool "4MB"
  64. endchoice
  65. config SECCOMP
  66. bool "Enable seccomp to safely compute untrusted bytecode"
  67. depends on PROC_FS
  68. default y
  69. help
  70. This kernel feature is useful for number crunching applications
  71. that may need to compute untrusted bytecode during their
  72. execution. By using pipes or other transports made available to
  73. the process as file descriptors supporting the read/write
  74. syscalls, it's possible to isolate those applications in
  75. their own address space using seccomp. Once seccomp is
  76. enabled via /proc/<pid>/seccomp, it cannot be disabled
  77. and the task is only allowed to execute a few safe syscalls
  78. defined by each seccomp mode.
  79. If unsure, say Y. Only embedded should say N here.
  80. source kernel/Kconfig.hz
  81. source "init/Kconfig"
  82. config SYSVIPC_COMPAT
  83. bool
  84. depends on COMPAT && SYSVIPC
  85. default y
  86. config GENERIC_HARDIRQS
  87. bool
  88. default y
  89. menu "General machine setup"
  90. source "kernel/time/Kconfig"
  91. config SMP
  92. bool "Symmetric multi-processing support"
  93. ---help---
  94. This enables support for systems with more than one CPU. If you have
  95. a system with only one CPU, say N. If you have a system with more than
  96. one CPU, say Y.
  97. If you say N here, the kernel will run on single and multiprocessor
  98. machines, but will use only one CPU of a multiprocessor machine. If
  99. you say Y here, the kernel will run on many, but not all,
  100. singleprocessor machines. On a singleprocessor machine, the kernel
  101. will run faster if you say N here.
  102. People using multiprocessor machines who say Y here should also say
  103. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  104. Management" code will be disabled if you say Y here.
  105. See also the <file:Documentation/smp.txt>,
  106. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  107. <http://www.tldp.org/docs.html#howto>.
  108. If you don't know what to do here, say N.
  109. config NR_CPUS
  110. int "Maximum number of CPUs (2-64)"
  111. range 2 64
  112. depends on SMP
  113. default "32"
  114. source "drivers/cpufreq/Kconfig"
  115. config US3_FREQ
  116. tristate "UltraSPARC-III CPU Frequency driver"
  117. depends on CPU_FREQ
  118. select CPU_FREQ_TABLE
  119. help
  120. This adds the CPUFreq driver for UltraSPARC-III processors.
  121. For details, take a look at <file:Documentation/cpu-freq>.
  122. If in doubt, say N.
  123. config US2E_FREQ
  124. tristate "UltraSPARC-IIe CPU Frequency driver"
  125. depends on CPU_FREQ
  126. select CPU_FREQ_TABLE
  127. help
  128. This adds the CPUFreq driver for UltraSPARC-IIe processors.
  129. For details, take a look at <file:Documentation/cpu-freq>.
  130. If in doubt, say N.
  131. # Global things across all Sun machines.
  132. config RWSEM_GENERIC_SPINLOCK
  133. bool
  134. config RWSEM_XCHGADD_ALGORITHM
  135. bool
  136. default y
  137. config GENERIC_FIND_NEXT_BIT
  138. bool
  139. default y
  140. config GENERIC_HWEIGHT
  141. bool
  142. default y if !ULTRA_HAS_POPULATION_COUNT
  143. config GENERIC_CALIBRATE_DELAY
  144. bool
  145. default y
  146. choice
  147. prompt "SPARC64 Huge TLB Page Size"
  148. depends on HUGETLB_PAGE
  149. default HUGETLB_PAGE_SIZE_4MB
  150. config HUGETLB_PAGE_SIZE_4MB
  151. bool "4MB"
  152. config HUGETLB_PAGE_SIZE_512K
  153. depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
  154. bool "512K"
  155. config HUGETLB_PAGE_SIZE_64K
  156. depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
  157. bool "64K"
  158. endchoice
  159. endmenu
  160. config ARCH_SELECT_MEMORY_MODEL
  161. def_bool y
  162. config ARCH_SPARSEMEM_ENABLE
  163. def_bool y
  164. config ARCH_SPARSEMEM_DEFAULT
  165. def_bool y
  166. select SPARSEMEM_STATIC
  167. config LARGE_ALLOCS
  168. def_bool y
  169. source "mm/Kconfig"
  170. config ISA
  171. bool
  172. help
  173. Find out whether you have ISA slots on your motherboard. ISA is the
  174. name of a bus system, i.e. the way the CPU talks to the other stuff
  175. inside your box. Other bus systems are PCI, EISA, MicroChannel
  176. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  177. newer boards don't support it. If you have ISA, say Y, otherwise N.
  178. config ISAPNP
  179. bool
  180. help
  181. Say Y here if you would like support for ISA Plug and Play devices.
  182. Some information is in <file:Documentation/isapnp.txt>.
  183. To compile this driver as a module, choose M here: the
  184. module will be called isapnp.
  185. If unsure, say Y.
  186. config EISA
  187. bool
  188. ---help---
  189. The Extended Industry Standard Architecture (EISA) bus was
  190. developed as an open alternative to the IBM MicroChannel bus.
  191. The EISA bus provided some of the features of the IBM MicroChannel
  192. bus while maintaining backward compatibility with cards made for
  193. the older ISA bus. The EISA bus saw limited use between 1988 and
  194. 1995 when it was made obsolete by the PCI bus.
  195. Say Y here if you are building a kernel for an EISA-based machine.
  196. Otherwise, say N.
  197. config MCA
  198. bool
  199. help
  200. MicroChannel Architecture is found in some IBM PS/2 machines and
  201. laptops. It is a bus system similar to PCI or ISA. See
  202. <file:Documentation/mca.txt> (and especially the web page given
  203. there) before attempting to build an MCA bus kernel.
  204. config PCMCIA
  205. tristate
  206. ---help---
  207. Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
  208. computer. These are credit-card size devices such as network cards,
  209. modems or hard drives often used with laptops computers. There are
  210. actually two varieties of these cards: the older 16 bit PCMCIA cards
  211. and the newer 32 bit CardBus cards. If you want to use CardBus
  212. cards, you need to say Y here and also to "CardBus support" below.
  213. To use your PC-cards, you will need supporting software from David
  214. Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
  215. for location). Please also read the PCMCIA-HOWTO, available from
  216. <http://www.tldp.org/docs.html#howto>.
  217. To compile this driver as modules, choose M here: the
  218. modules will be called pcmcia_core and ds.
  219. config SBUS
  220. bool
  221. default y
  222. config SBUSCHAR
  223. bool
  224. default y
  225. config SUN_AUXIO
  226. bool
  227. default y
  228. config SUN_IO
  229. bool
  230. default y
  231. config PCI
  232. bool "PCI support"
  233. help
  234. Find out whether you have a PCI motherboard. PCI is the name of a
  235. bus system, i.e. the way the CPU talks to the other stuff inside
  236. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  237. VESA. If you have PCI, say Y, otherwise N.
  238. The PCI-HOWTO, available from
  239. <http://www.tldp.org/docs.html#howto>, contains valuable
  240. information about which PCI hardware does work under Linux and which
  241. doesn't.
  242. config PCI_DOMAINS
  243. bool
  244. default PCI
  245. source "drivers/pci/Kconfig"
  246. config SUN_OPENPROMFS
  247. tristate "Openprom tree appears in /proc/openprom"
  248. help
  249. If you say Y, the OpenPROM device tree will be available as a
  250. virtual file system, which you can mount to /proc/openprom by "mount
  251. -t openpromfs none /proc/openprom".
  252. To compile the /proc/openprom support as a module, choose M here: the
  253. module will be called openpromfs. If unsure, choose M.
  254. config SPARC32_COMPAT
  255. bool "Kernel support for Linux/Sparc 32bit binary compatibility"
  256. help
  257. This allows you to run 32-bit binaries on your Ultra.
  258. Everybody wants this; say Y.
  259. config COMPAT
  260. bool
  261. depends on SPARC32_COMPAT
  262. default y
  263. config BINFMT_ELF32
  264. bool "Kernel support for 32-bit ELF binaries"
  265. depends on SPARC32_COMPAT
  266. help
  267. This allows you to run 32-bit Linux/ELF binaries on your Ultra.
  268. Everybody wants this; say Y.
  269. config BINFMT_AOUT32
  270. bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
  271. depends on SPARC32_COMPAT
  272. help
  273. This allows you to run 32-bit a.out format binaries on your Ultra.
  274. If you want to run SunOS binaries (see SunOS binary emulation below)
  275. or other a.out binaries, say Y. If unsure, say N.
  276. menu "Executable file formats"
  277. source "fs/Kconfig.binfmt"
  278. config SUNOS_EMUL
  279. bool "SunOS binary emulation"
  280. depends on BINFMT_AOUT32
  281. help
  282. This allows you to run most SunOS binaries. If you want to do this,
  283. say Y here and place appropriate files in /usr/gnemul/sunos. See
  284. <http://www.ultralinux.org/faq.html> for more information. If you
  285. want to run SunOS binaries on an Ultra you must also say Y to
  286. "Kernel support for 32-bit a.out binaries" above.
  287. config SOLARIS_EMUL
  288. tristate "Solaris binary emulation (EXPERIMENTAL)"
  289. depends on SPARC32_COMPAT && EXPERIMENTAL
  290. help
  291. This is experimental code which will enable you to run (many)
  292. Solaris binaries on your SPARC Linux machine.
  293. To compile this code as a module, choose M here: the
  294. module will be called solaris.
  295. endmenu
  296. config SCHED_SMT
  297. bool "SMT (Hyperthreading) scheduler support"
  298. depends on SMP
  299. default y
  300. help
  301. SMT scheduler support improves the CPU scheduler's decision making
  302. when dealing with UltraSPARC cpus at a cost of slightly increased
  303. overhead in some places. If unsure say N here.
  304. source "kernel/Kconfig.preempt"
  305. config CMDLINE_BOOL
  306. bool "Default bootloader kernel arguments"
  307. config CMDLINE
  308. string "Initial kernel command string"
  309. depends on CMDLINE_BOOL
  310. default "console=ttyS0,9600 root=/dev/sda1"
  311. help
  312. Say Y here if you want to be able to pass default arguments to
  313. the kernel. This will be overridden by the bootloader, if you
  314. use one (such as SILO). This is most useful if you want to boot
  315. a kernel from TFTP, and want default options to be available
  316. with having them passed on the command line.
  317. NOTE: This option WILL override the PROM bootargs setting!
  318. source "net/Kconfig"
  319. source "drivers/Kconfig"
  320. source "drivers/sbus/char/Kconfig"
  321. source "drivers/fc4/Kconfig"
  322. source "fs/Kconfig"
  323. menu "Instrumentation Support"
  324. depends on EXPERIMENTAL
  325. source "arch/sparc64/oprofile/Kconfig"
  326. config KPROBES
  327. bool "Kprobes (EXPERIMENTAL)"
  328. depends on KALLSYMS && EXPERIMENTAL && MODULES
  329. help
  330. Kprobes allows you to trap at almost any kernel address and
  331. execute a callback function. register_kprobe() establishes
  332. a probepoint and specifies the callback. Kprobes is useful
  333. for kernel debugging, non-intrusive instrumentation and testing.
  334. If in doubt, say "N".
  335. endmenu
  336. source "arch/sparc64/Kconfig.debug"
  337. source "security/Kconfig"
  338. source "crypto/Kconfig"
  339. source "lib/Kconfig"