Kconfig 11 KB

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