Kconfig 12 KB

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