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