Kconfig 8.8 KB

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