Kconfig 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. # $Id: config.in,v 1.113 2002/01/24 22:14:44 davem Exp $
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux/SPARC Kernel Configuration"
  6. config MMU
  7. bool
  8. default y
  9. config HIGHMEM
  10. bool
  11. default y
  12. config GENERIC_ISA_DMA
  13. bool
  14. default y
  15. source "init/Kconfig"
  16. menu "General machine setup"
  17. config SMP
  18. bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
  19. ---help---
  20. This enables support for systems with more than one CPU. If you have
  21. a system with only one CPU, say N. If you have a system with more
  22. than one CPU, say Y.
  23. If you say N here, the kernel will run on single and multiprocessor
  24. machines, but will use only one CPU of a multiprocessor machine. If
  25. you say Y here, the kernel will run on many, but not all,
  26. singleprocessor machines. On a singleprocessor machine, the kernel
  27. will run faster if you say N here.
  28. People using multiprocessor machines who say Y here should also say
  29. Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
  30. Management" code will be disabled if you say Y here.
  31. See also the <file:Documentation/smp.txt>,
  32. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  33. <http://www.tldp.org/docs.html#howto>.
  34. If you don't know what to do here, say N.
  35. config NR_CPUS
  36. int "Maximum number of CPUs (2-32)"
  37. range 2 32
  38. depends on SMP
  39. default "32"
  40. config SPARC
  41. bool
  42. default y
  43. # Identify this as a Sparc32 build
  44. config SPARC32
  45. bool
  46. default y
  47. help
  48. SPARC is a family of RISC microprocessors designed and marketed by
  49. Sun Microsystems, incorporated. They are very widely found in Sun
  50. workstations and clones. This port covers the original 32-bit SPARC;
  51. it is old and stable and usually considered one of the "big three"
  52. along with the Intel and Alpha ports. The UltraLinux project
  53. maintains both the SPARC32 and SPARC64 ports; its web page is
  54. available at <http://www.ultralinux.org/>.
  55. # Global things across all Sun machines.
  56. config ISA
  57. bool
  58. help
  59. ISA is found on Espresso only and is not supported currently.
  60. Say N
  61. config EISA
  62. bool
  63. help
  64. EISA is not supported.
  65. Say N
  66. config MCA
  67. bool
  68. help
  69. MCA is not supported.
  70. Say N
  71. config PCMCIA
  72. tristate
  73. ---help---
  74. Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
  75. computer. These are credit-card size devices such as network cards,
  76. modems or hard drives often used with laptops computers. There are
  77. actually two varieties of these cards: the older 16 bit PCMCIA cards
  78. and the newer 32 bit CardBus cards. If you want to use CardBus
  79. cards, you need to say Y here and also to "CardBus support" below.
  80. To use your PC-cards, you will need supporting software from David
  81. Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
  82. for location). Please also read the PCMCIA-HOWTO, available from
  83. <http://www.tldp.org/docs.html#howto>.
  84. To compile this driver as modules, choose M here: the
  85. modules will be called pcmcia_core and ds.
  86. config SBUS
  87. bool
  88. default y
  89. config SBUSCHAR
  90. bool
  91. default y
  92. config SERIAL_CONSOLE
  93. bool
  94. default y
  95. ---help---
  96. If you say Y here, it will be possible to use a serial port as the
  97. system console (the system console is the device which receives all
  98. kernel messages and warnings and which allows logins in single user
  99. mode). This could be useful if some terminal or printer is connected
  100. to that serial port.
  101. Even if you say Y here, the currently visible virtual console
  102. (/dev/tty0) will still be used as the system console by default, but
  103. you can alter that using a kernel command line option such as
  104. "console=ttyS1". (Try "man bootparam" or see the documentation of
  105. your boot loader (silo) about how to pass options to the kernel at
  106. boot time.)
  107. If you don't have a graphics card installed and you say Y here, the
  108. kernel will automatically use the first serial line, /dev/ttyS0, as
  109. system console.
  110. If unsure, say N.
  111. config SUN_AUXIO
  112. bool
  113. default y
  114. config SUN_IO
  115. bool
  116. default y
  117. config RWSEM_GENERIC_SPINLOCK
  118. bool
  119. default y
  120. config RWSEM_XCHGADD_ALGORITHM
  121. bool
  122. config GENERIC_FIND_NEXT_BIT
  123. bool
  124. default y
  125. config GENERIC_HWEIGHT
  126. bool
  127. default y
  128. config GENERIC_CALIBRATE_DELAY
  129. bool
  130. default y
  131. config ARCH_MAY_HAVE_PC_FDC
  132. bool
  133. default y
  134. config ARCH_HAS_ILOG2_U32
  135. bool
  136. default n
  137. config ARCH_HAS_ILOG2_U64
  138. bool
  139. default n
  140. config SUN_PM
  141. bool
  142. default y
  143. help
  144. Enable power management and CPU standby features on supported
  145. SPARC platforms.
  146. config SUN4
  147. bool "Support for SUN4 machines (disables SUN4[CDM] support)"
  148. depends on !SMP
  149. default n
  150. help
  151. Say Y here if, and only if, your machine is a sun4. Note that
  152. a kernel compiled with this option will run only on sun4.
  153. (And the current version will probably work only on sun4/330.)
  154. if !SUN4
  155. config PCI
  156. bool "Support for PCI and PS/2 keyboard/mouse"
  157. help
  158. CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
  159. CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
  160. All of these platforms are extremely obscure, so say N if unsure.
  161. source "drivers/pci/Kconfig"
  162. endif
  163. config SUN_OPENPROMFS
  164. tristate "Openprom tree appears in /proc/openprom"
  165. help
  166. If you say Y, the OpenPROM device tree will be available as a
  167. virtual file system, which you can mount to /proc/openprom by "mount
  168. -t openpromfs none /proc/openprom".
  169. To compile the /proc/openprom support as a module, choose M here: the
  170. module will be called openpromfs.
  171. Only choose N if you know in advance that you will not need to modify
  172. OpenPROM settings on the running system.
  173. config SPARC_LED
  174. tristate "Sun4m LED driver"
  175. help
  176. This driver toggles the front-panel LED on sun4m systems
  177. in a user-specifiable manner. Its state can be probed
  178. by reading /proc/led and its blinking mode can be changed
  179. via writes to /proc/led
  180. source "fs/Kconfig.binfmt"
  181. config SUNOS_EMUL
  182. bool "SunOS binary emulation"
  183. help
  184. This allows you to run most SunOS binaries. If you want to do this,
  185. say Y here and place appropriate files in /usr/gnemul/sunos. See
  186. <http://www.ultralinux.org/faq.html> for more information. If you
  187. want to run SunOS binaries on an Ultra you must also say Y to
  188. "Kernel support for 32-bit a.out binaries" above.
  189. source "mm/Kconfig"
  190. endmenu
  191. source "net/Kconfig"
  192. source "drivers/Kconfig"
  193. if !SUN4
  194. source "drivers/sbus/char/Kconfig"
  195. endif
  196. # This one must be before the filesystem configs. -DaveM
  197. menu "Unix98 PTY support"
  198. config UNIX98_PTYS
  199. bool "Unix98 PTY support"
  200. ---help---
  201. A pseudo terminal (PTY) is a software device consisting of two
  202. halves: a master and a slave. The slave device behaves identical to
  203. a physical terminal; the master device is used by a process to
  204. read data from and write data to the slave, thereby emulating a
  205. terminal. Typical programs for the master side are telnet servers
  206. and xterms.
  207. Linux has traditionally used the BSD-like names /dev/ptyxx for
  208. masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
  209. has a number of problems. The GNU C library glibc 2.1 and later,
  210. however, supports the Unix98 naming standard: in order to acquire a
  211. pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
  212. terminal is then made available to the process and the pseudo
  213. terminal slave can be accessed as /dev/pts/<number>. What was
  214. traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
  215. The entries in /dev/pts/ are created on the fly by a virtual
  216. file system; therefore, if you say Y here you should say Y to
  217. "/dev/pts file system for Unix98 PTYs" as well.
  218. If you want to say Y here, you need to have the C library glibc 2.1
  219. or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
  220. Read the instructions in <file:Documentation/Changes> pertaining to
  221. pseudo terminals. It's safe to say N.
  222. config UNIX98_PTY_COUNT
  223. int "Maximum number of Unix98 PTYs in use (0-2048)"
  224. depends on UNIX98_PTYS
  225. default "256"
  226. help
  227. The maximum number of Unix98 PTYs that can be used at any one time.
  228. The default is 256, and should be enough for desktop systems. Server
  229. machines which support incoming telnet/rlogin/ssh connections and/or
  230. serve several X terminals may want to increase this: every incoming
  231. connection and every xterm uses up one PTY.
  232. When not in use, each additional set of 256 PTYs occupy
  233. approximately 8 KB of kernel memory on 32-bit architectures.
  234. endmenu
  235. source "fs/Kconfig"
  236. menu "Instrumentation Support"
  237. depends on EXPERIMENTAL
  238. source "arch/sparc/oprofile/Kconfig"
  239. endmenu
  240. source "arch/sparc/Kconfig.debug"
  241. source "security/Kconfig"
  242. source "crypto/Kconfig"
  243. source "lib/Kconfig"