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