Kconfig 12 KB

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