Kconfig 11 KB

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