Kconfig 11 KB

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