Kconfig 11 KB

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