Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.18 206 lines 5.9 kB view raw
1# 2# For a description of the syntax of this configuration file, 3# see Documentation/kbuild/config-language.txt. 4# 5 6mainmenu "uClinux/h8300 (w/o MMU) Kernel Configuration" 7 8config H8300 9 bool 10 default y 11 12config MMU 13 bool 14 default n 15 16config SWAP 17 bool 18 default n 19 20config FPU 21 bool 22 default n 23 24config RWSEM_GENERIC_SPINLOCK 25 bool 26 default y 27 28config RWSEM_XCHGADD_ALGORITHM 29 bool 30 default n 31 32config GENERIC_FIND_NEXT_BIT 33 bool 34 default y 35 36config GENERIC_HWEIGHT 37 bool 38 default y 39 40config GENERIC_CALIBRATE_DELAY 41 bool 42 default y 43 44config TIME_LOW_RES 45 bool 46 default y 47 48config ISA 49 bool 50 default y 51 52config PCI 53 bool 54 default n 55 56source "init/Kconfig" 57 58source "arch/h8300/Kconfig.cpu" 59 60menu "Executable file formats" 61 62source "fs/Kconfig.binfmt" 63 64endmenu 65 66source "net/Kconfig" 67 68source "drivers/base/Kconfig" 69 70source "drivers/mtd/Kconfig" 71 72source "drivers/block/Kconfig" 73 74source "drivers/ide/Kconfig" 75 76source "arch/h8300/Kconfig.ide" 77 78source "drivers/net/Kconfig" 79 80# 81# input - input/joystick depends on it. As does USB. 82# 83source "drivers/input/Kconfig" 84 85menu "Character devices" 86 87config VT 88 bool "Virtual terminal" 89 ---help--- 90 If you say Y here, you will get support for terminal devices with 91 display and keyboard devices. These are called "virtual" because you 92 can run several virtual terminals (also called virtual consoles) on 93 one physical terminal. This is rather useful, for example one 94 virtual terminal can collect system messages and warnings, another 95 one can be used for a text-mode user session, and a third could run 96 an X session, all in parallel. Switching between virtual terminals 97 is done with certain key combinations, usually Alt-<function key>. 98 99 The setterm command ("man setterm") can be used to change the 100 properties (such as colors or beeping) of a virtual terminal. The 101 man page console_codes(4) ("man console_codes") contains the special 102 character sequences that can be used to change those properties 103 directly. The fonts used on virtual terminals can be changed with 104 the setfont ("man setfont") command and the key bindings are defined 105 with the loadkeys ("man loadkeys") command. 106 107 You need at least one virtual terminal device in order to make use 108 of your keyboard and monitor. Therefore, only people configuring an 109 embedded system would want to say N here in order to save some 110 memory; the only way to log into such a system is then via a serial 111 or network connection. 112 113 If unsure, say Y, or else you won't be able to do much with your new 114 shiny Linux system :-) 115 116config VT_CONSOLE 117 bool "Support for console on virtual terminal" 118 depends on VT 119 ---help--- 120 The system console is the device which receives all kernel messages 121 and warnings and which allows logins in single user mode. If you 122 answer Y here, a virtual terminal (the device used to interact with 123 a physical terminal) can be used as system console. This is the most 124 common mode of operations, so you should say Y here unless you want 125 the kernel messages be output only to a serial port (in which case 126 you should say Y to "Console on serial port", below). 127 128 If you do say Y here, by default the currently visible virtual 129 terminal (/dev/tty0) will be used as system console. You can change 130 that with a kernel command line option such as "console=tty3" which 131 would use the third virtual terminal as system console. (Try "man 132 bootparam" or see the documentation of your boot loader (lilo or 133 loadlin) about how to pass options to the kernel at boot time.) 134 135 If unsure, say Y. 136 137config HW_CONSOLE 138 bool 139 depends on VT && !S390 && !UM 140 default y 141 142comment "Unix98 PTY support" 143 144config UNIX98_PTYS 145 bool "Unix98 PTY support" 146 ---help--- 147 A pseudo terminal (PTY) is a software device consisting of two 148 halves: a master and a slave. The slave device behaves identical to 149 a physical terminal; the master device is used by a process to 150 read data from and write data to the slave, thereby emulating a 151 terminal. Typical programs for the master side are telnet servers 152 and xterms. 153 154 Linux has traditionally used the BSD-like names /dev/ptyxx for 155 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme 156 has a number of problems. The GNU C library glibc 2.1 and later, 157 however, supports the Unix98 naming standard: in order to acquire a 158 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo 159 terminal is then made available to the process and the pseudo 160 terminal slave can be accessed as /dev/pts/<number>. What was 161 traditionally /dev/ttyp2 will then be /dev/pts/2, for example. 162 163 The entries in /dev/pts/ are created on the fly by a virtual 164 file system; therefore, if you say Y here you should say Y to 165 "/dev/pts file system for Unix98 PTYs" as well. 166 167 If you want to say Y here, you need to have the C library glibc 2.1 168 or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*"). 169 Read the instructions in <file:Documentation/Changes> pertaining to 170 pseudo terminals. It's safe to say N. 171 172config UNIX98_PTY_COUNT 173 int "Maximum number of Unix98 PTYs in use (0-2048)" 174 depends on UNIX98_PTYS 175 default "256" 176 help 177 The maximum number of Unix98 PTYs that can be used at any one time. 178 The default is 256, and should be enough for desktop systems. Server 179 machines which support incoming telnet/rlogin/ssh connections and/or 180 serve several X terminals may want to increase this: every incoming 181 connection and every xterm uses up one PTY. 182 183 When not in use, each additional set of 256 PTYs occupy 184 approximately 8 KB of kernel memory on 32-bit architectures. 185 186source "drivers/char/pcmcia/Kconfig" 187 188source "drivers/serial/Kconfig" 189 190source "drivers/i2c/Kconfig" 191 192source "drivers/hwmon/Kconfig" 193 194source "drivers/usb/Kconfig" 195 196endmenu 197 198source "fs/Kconfig" 199 200source "arch/h8300/Kconfig.debug" 201 202source "security/Kconfig" 203 204source "crypto/Kconfig" 205 206source "lib/Kconfig"