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