Kconfig 8.0 KB

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