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