Kconfig 7.9 KB

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