Kconfig 11 KB

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