Kconfig 8.5 KB

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