Kconfig 8.9 KB

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