Kconfig 11 KB

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