Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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_64KB
  145. bool "64K"
  146. endchoice
  147. endmenu
  148. config ARCH_SELECT_MEMORY_MODEL
  149. def_bool y
  150. config ARCH_SPARSEMEM_ENABLE
  151. def_bool y
  152. config ARCH_SPARSEMEM_DEFAULT
  153. def_bool y
  154. config LARGE_ALLOCS
  155. def_bool y
  156. source "mm/Kconfig"
  157. config GENERIC_ISA_DMA
  158. bool
  159. default y
  160. config ISA
  161. bool
  162. help
  163. Find out whether you have ISA slots on your motherboard. ISA is the
  164. name of a bus system, i.e. the way the CPU talks to the other stuff
  165. inside your box. Other bus systems are PCI, EISA, MicroChannel
  166. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  167. newer boards don't support it. If you have ISA, say Y, otherwise N.
  168. config ISAPNP
  169. bool
  170. help
  171. Say Y here if you would like support for ISA Plug and Play devices.
  172. Some information is in <file:Documentation/isapnp.txt>.
  173. To compile this driver as a module, choose M here: the
  174. module will be called isapnp.
  175. If unsure, say Y.
  176. config EISA
  177. bool
  178. ---help---
  179. The Extended Industry Standard Architecture (EISA) bus was
  180. developed as an open alternative to the IBM MicroChannel bus.
  181. The EISA bus provided some of the features of the IBM MicroChannel
  182. bus while maintaining backward compatibility with cards made for
  183. the older ISA bus. The EISA bus saw limited use between 1988 and
  184. 1995 when it was made obsolete by the PCI bus.
  185. Say Y here if you are building a kernel for an EISA-based machine.
  186. Otherwise, say N.
  187. config MCA
  188. bool
  189. help
  190. MicroChannel Architecture is found in some IBM PS/2 machines and
  191. laptops. It is a bus system similar to PCI or ISA. See
  192. <file:Documentation/mca.txt> (and especially the web page given
  193. there) before attempting to build an MCA bus kernel.
  194. config PCMCIA
  195. tristate
  196. ---help---
  197. Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
  198. computer. These are credit-card size devices such as network cards,
  199. modems or hard drives often used with laptops computers. There are
  200. actually two varieties of these cards: the older 16 bit PCMCIA cards
  201. and the newer 32 bit CardBus cards. If you want to use CardBus
  202. cards, you need to say Y here and also to "CardBus support" below.
  203. To use your PC-cards, you will need supporting software from David
  204. Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
  205. for location). Please also read the PCMCIA-HOWTO, available from
  206. <http://www.tldp.org/docs.html#howto>.
  207. To compile this driver as modules, choose M here: the
  208. modules will be called pcmcia_core and ds.
  209. config SBUS
  210. bool
  211. default y
  212. config SBUSCHAR
  213. bool
  214. default y
  215. config SUN_AUXIO
  216. bool
  217. default y
  218. config SUN_IO
  219. bool
  220. default y
  221. config PCI
  222. bool "PCI support"
  223. help
  224. Find out whether you have a PCI motherboard. PCI is the name of a
  225. bus system, i.e. the way the CPU talks to the other stuff inside
  226. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  227. VESA. If you have PCI, say Y, otherwise N.
  228. The PCI-HOWTO, available from
  229. <http://www.tldp.org/docs.html#howto>, contains valuable
  230. information about which PCI hardware does work under Linux and which
  231. doesn't.
  232. config PCI_DOMAINS
  233. bool
  234. default PCI
  235. source "drivers/pci/Kconfig"
  236. config SUN_OPENPROMFS
  237. tristate "Openprom tree appears in /proc/openprom"
  238. help
  239. If you say Y, the OpenPROM device tree will be available as a
  240. virtual file system, which you can mount to /proc/openprom by "mount
  241. -t openpromfs none /proc/openprom".
  242. To compile the /proc/openprom support as a module, choose M here: the
  243. module will be called openpromfs. If unsure, choose M.
  244. config SPARC32_COMPAT
  245. bool "Kernel support for Linux/Sparc 32bit binary compatibility"
  246. help
  247. This allows you to run 32-bit binaries on your Ultra.
  248. Everybody wants this; say Y.
  249. config COMPAT
  250. bool
  251. depends on SPARC32_COMPAT
  252. default y
  253. config BINFMT_ELF32
  254. tristate "Kernel support for 32-bit ELF binaries"
  255. depends on SPARC32_COMPAT
  256. help
  257. This allows you to run 32-bit Linux/ELF binaries on your Ultra.
  258. Everybody wants this; say Y.
  259. config BINFMT_AOUT32
  260. bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
  261. depends on SPARC32_COMPAT
  262. help
  263. This allows you to run 32-bit a.out format binaries on your Ultra.
  264. If you want to run SunOS binaries (see SunOS binary emulation below)
  265. or other a.out binaries, say Y. If unsure, say N.
  266. menu "Executable file formats"
  267. source "fs/Kconfig.binfmt"
  268. config SUNOS_EMUL
  269. bool "SunOS binary emulation"
  270. depends on BINFMT_AOUT32
  271. help
  272. This allows you to run most SunOS binaries. If you want to do this,
  273. say Y here and place appropriate files in /usr/gnemul/sunos. See
  274. <http://www.ultralinux.org/faq.html> for more information. If you
  275. want to run SunOS binaries on an Ultra you must also say Y to
  276. "Kernel support for 32-bit a.out binaries" above.
  277. config SOLARIS_EMUL
  278. tristate "Solaris binary emulation (EXPERIMENTAL)"
  279. depends on SPARC32_COMPAT && EXPERIMENTAL
  280. help
  281. This is experimental code which will enable you to run (many)
  282. Solaris binaries on your SPARC Linux machine.
  283. To compile this code as a module, choose M here: the
  284. module will be called solaris.
  285. endmenu
  286. config 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 UltraSPARC cpus at a cost of slightly increased
  293. overhead in some places. If unsure say N here.
  294. config CMDLINE_BOOL
  295. bool "Default bootloader kernel arguments"
  296. config CMDLINE
  297. string "Initial kernel command string"
  298. depends on CMDLINE_BOOL
  299. default "console=ttyS0,9600 root=/dev/sda1"
  300. help
  301. Say Y here if you want to be able to pass default arguments to
  302. the kernel. This will be overridden by the bootloader, if you
  303. use one (such as SILO). This is most useful if you want to boot
  304. a kernel from TFTP, and want default options to be available
  305. with having them passed on the command line.
  306. NOTE: This option WILL override the PROM bootargs setting!
  307. source "net/Kconfig"
  308. source "drivers/Kconfig"
  309. source "drivers/sbus/char/Kconfig"
  310. source "drivers/fc4/Kconfig"
  311. source "fs/Kconfig"
  312. menu "Instrumentation Support"
  313. depends on EXPERIMENTAL
  314. source "arch/sparc64/oprofile/Kconfig"
  315. config KPROBES
  316. bool "Kprobes (EXPERIMENTAL)"
  317. depends on EXPERIMENTAL && MODULES
  318. help
  319. Kprobes allows you to trap at almost any kernel address and
  320. execute a callback function. register_kprobe() establishes
  321. a probepoint and specifies the callback. Kprobes is useful
  322. for kernel debugging, non-intrusive instrumentation and testing.
  323. If in doubt, say "N".
  324. endmenu
  325. source "arch/sparc64/Kconfig.debug"
  326. source "security/Kconfig"
  327. source "crypto/Kconfig"
  328. source "lib/Kconfig"