Kconfig 12 KB

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