Kconfig 10 KB

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