Kconfig 12 KB

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