diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:26:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:05 -0400 |
commit | 4c9e13851315a25a705e7a686116e491041ca228 (patch) | |
tree | a323e1dcfe89f6c9d7e873a1bf2ad7aab9cdb9e6 /arch/um/Kconfig.char | |
parent | c28b59d4779a43e9b7e786c7004cbee8fab1527d (diff) |
uml: style fixes pass 1
Formatting changes in the files which have been changed in the
tt-removal patchset so far. These include:
copyright updates
header file trimming
style fixes
adding severity to printks
indenting Kconfig help according to the predominant kernel style
These changes should be entirely non-functional.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Kconfig.char')
-rw-r--r-- | arch/um/Kconfig.char | 139 |
1 files changed, 69 insertions, 70 deletions
diff --git a/arch/um/Kconfig.char b/arch/um/Kconfig.char index 1168936fb153..9a78d354f0b4 100644 --- a/arch/um/Kconfig.char +++ b/arch/um/Kconfig.char | |||
@@ -5,7 +5,7 @@ config STDERR_CONSOLE | |||
5 | bool "stderr console" | 5 | bool "stderr console" |
6 | default y | 6 | default y |
7 | help | 7 | help |
8 | console driver which dumps all printk messages to stderr. | 8 | console driver which dumps all printk messages to stderr. |
9 | 9 | ||
10 | config STDIO_CONSOLE | 10 | config STDIO_CONSOLE |
11 | bool | 11 | bool |
@@ -14,58 +14,58 @@ config STDIO_CONSOLE | |||
14 | config SSL | 14 | config SSL |
15 | bool "Virtual serial line" | 15 | bool "Virtual serial line" |
16 | help | 16 | help |
17 | The User-Mode Linux environment allows you to create virtual serial | 17 | The User-Mode Linux environment allows you to create virtual serial |
18 | lines on the UML that are usually made to show up on the host as | 18 | lines on the UML that are usually made to show up on the host as |
19 | ttys or ptys. | 19 | ttys or ptys. |
20 | 20 | ||
21 | See <http://user-mode-linux.sourceforge.net/input.html> for more | 21 | See <http://user-mode-linux.sourceforge.net/input.html> for more |
22 | information and command line examples of how to use this facility. | 22 | information and command line examples of how to use this facility. |
23 | 23 | ||
24 | Unless you have a specific reason for disabling this, say Y. | 24 | Unless you have a specific reason for disabling this, say Y. |
25 | 25 | ||
26 | config NULL_CHAN | 26 | config NULL_CHAN |
27 | bool "null channel support" | 27 | bool "null channel support" |
28 | help | 28 | help |
29 | This option enables support for attaching UML consoles and serial | 29 | This option enables support for attaching UML consoles and serial |
30 | lines to a device similar to /dev/null. Data written to it disappears | 30 | lines to a device similar to /dev/null. Data written to it disappears |
31 | and there is never any data to be read. | 31 | and there is never any data to be read. |
32 | 32 | ||
33 | config PORT_CHAN | 33 | config PORT_CHAN |
34 | bool "port channel support" | 34 | bool "port channel support" |
35 | help | 35 | help |
36 | This option enables support for attaching UML consoles and serial | 36 | This option enables support for attaching UML consoles and serial |
37 | lines to host portals. They may be accessed with 'telnet <host> | 37 | lines to host portals. They may be accessed with 'telnet <host> |
38 | <port number>'. Any number of consoles and serial lines may be | 38 | <port number>'. Any number of consoles and serial lines may be |
39 | attached to a single portal, although what UML device you get when | 39 | attached to a single portal, although what UML device you get when |
40 | you telnet to that portal will be unpredictable. | 40 | you telnet to that portal will be unpredictable. |
41 | It is safe to say 'Y' here. | 41 | It is safe to say 'Y' here. |
42 | 42 | ||
43 | config PTY_CHAN | 43 | config PTY_CHAN |
44 | bool "pty channel support" | 44 | bool "pty channel support" |
45 | help | 45 | help |
46 | This option enables support for attaching UML consoles and serial | 46 | This option enables support for attaching UML consoles and serial |
47 | lines to host pseudo-terminals. Access to both traditional | 47 | lines to host pseudo-terminals. Access to both traditional |
48 | pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled | 48 | pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled |
49 | with this option. The assignment of UML devices to host devices | 49 | with this option. The assignment of UML devices to host devices |
50 | will be announced in the kernel message log. | 50 | will be announced in the kernel message log. |
51 | It is safe to say 'Y' here. | 51 | It is safe to say 'Y' here. |
52 | 52 | ||
53 | config TTY_CHAN | 53 | config TTY_CHAN |
54 | bool "tty channel support" | 54 | bool "tty channel support" |
55 | help | 55 | help |
56 | This option enables support for attaching UML consoles and serial | 56 | This option enables support for attaching UML consoles and serial |
57 | lines to host terminals. Access to both virtual consoles | 57 | lines to host terminals. Access to both virtual consoles |
58 | (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and | 58 | (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and |
59 | /dev/pts/*) are controlled by this option. | 59 | /dev/pts/*) are controlled by this option. |
60 | It is safe to say 'Y' here. | 60 | It is safe to say 'Y' here. |
61 | 61 | ||
62 | config XTERM_CHAN | 62 | config XTERM_CHAN |
63 | bool "xterm channel support" | 63 | bool "xterm channel support" |
64 | help | 64 | help |
65 | This option enables support for attaching UML consoles and serial | 65 | This option enables support for attaching UML consoles and serial |
66 | lines to xterms. Each UML device so assigned will be brought up in | 66 | lines to xterms. Each UML device so assigned will be brought up in |
67 | its own xterm. | 67 | its own xterm. |
68 | It is safe to say 'Y' here. | 68 | It is safe to say 'Y' here. |
69 | 69 | ||
70 | config NOCONFIG_CHAN | 70 | config NOCONFIG_CHAN |
71 | bool | 71 | bool |
@@ -75,39 +75,39 @@ config CON_ZERO_CHAN | |||
75 | string "Default main console channel initialization" | 75 | string "Default main console channel initialization" |
76 | default "fd:0,fd:1" | 76 | default "fd:0,fd:1" |
77 | help | 77 | help |
78 | This is the string describing the channel to which the main console | 78 | This is the string describing the channel to which the main console |
79 | will be attached by default. This value can be overridden from the | 79 | will be attached by default. This value can be overridden from the |
80 | command line. The default value is "fd:0,fd:1", which attaches the | 80 | command line. The default value is "fd:0,fd:1", which attaches the |
81 | main console to stdin and stdout. | 81 | main console to stdin and stdout. |
82 | It is safe to leave this unchanged. | 82 | It is safe to leave this unchanged. |
83 | 83 | ||
84 | config CON_CHAN | 84 | config CON_CHAN |
85 | string "Default console channel initialization" | 85 | string "Default console channel initialization" |
86 | default "xterm" | 86 | default "xterm" |
87 | help | 87 | help |
88 | This is the string describing the channel to which all consoles | 88 | This is the string describing the channel to which all consoles |
89 | except the main console will be attached by default. This value can | 89 | except the main console will be attached by default. This value can |
90 | be overridden from the command line. The default value is "xterm", | 90 | be overridden from the command line. The default value is "xterm", |
91 | which brings them up in xterms. | 91 | which brings them up in xterms. |
92 | It is safe to leave this unchanged, although you may wish to change | 92 | It is safe to leave this unchanged, although you may wish to change |
93 | this if you expect the UML that you build to be run in environments | 93 | this if you expect the UML that you build to be run in environments |
94 | which don't have X or xterm available. | 94 | which don't have X or xterm available. |
95 | 95 | ||
96 | config SSL_CHAN | 96 | config SSL_CHAN |
97 | string "Default serial line channel initialization" | 97 | string "Default serial line channel initialization" |
98 | default "pty" | 98 | default "pty" |
99 | help | 99 | help |
100 | This is the string describing the channel to which the serial lines | 100 | This is the string describing the channel to which the serial lines |
101 | will be attached by default. This value can be overridden from the | 101 | will be attached by default. This value can be overridden from the |
102 | command line. The default value is "pty", which attaches them to | 102 | command line. The default value is "pty", which attaches them to |
103 | traditional pseudo-terminals. | 103 | traditional pseudo-terminals. |
104 | It is safe to leave this unchanged, although you may wish to change | 104 | It is safe to leave this unchanged, although you may wish to change |
105 | this if you expect the UML that you build to be run in environments | 105 | this if you expect the UML that you build to be run in environments |
106 | which don't have a set of /dev/pty* devices. | 106 | which don't have a set of /dev/pty* devices. |
107 | 107 | ||
108 | config UNIX98_PTYS | 108 | config UNIX98_PTYS |
109 | bool "Unix98 PTY support" | 109 | bool "Unix98 PTY support" |
110 | ---help--- | 110 | help |
111 | A pseudo terminal (PTY) is a software device consisting of two | 111 | A pseudo terminal (PTY) is a software device consisting of two |
112 | halves: a master and a slave. The slave device behaves identical to | 112 | halves: a master and a slave. The slave device behaves identical to |
113 | a physical terminal; the master device is used by a process to | 113 | a physical terminal; the master device is used by a process to |
@@ -130,7 +130,7 @@ config UNIX98_PTYS | |||
130 | config LEGACY_PTYS | 130 | config LEGACY_PTYS |
131 | bool "Legacy (BSD) PTY support" | 131 | bool "Legacy (BSD) PTY support" |
132 | default y | 132 | default y |
133 | ---help--- | 133 | help |
134 | A pseudo terminal (PTY) is a software device consisting of two | 134 | A pseudo terminal (PTY) is a software device consisting of two |
135 | halves: a master and a slave. The slave device behaves identical to | 135 | halves: a master and a slave. The slave device behaves identical to |
136 | a physical terminal; the master device is used by a process to | 136 | a physical terminal; the master device is used by a process to |
@@ -168,7 +168,7 @@ config LEGACY_PTY_COUNT | |||
168 | int "Maximum number of legacy PTY in use" | 168 | int "Maximum number of legacy PTY in use" |
169 | depends on LEGACY_PTYS | 169 | depends on LEGACY_PTYS |
170 | default "256" | 170 | default "256" |
171 | ---help--- | 171 | help |
172 | The maximum number of legacy PTYs that can be used at any one time. | 172 | The maximum number of legacy PTYs that can be used at any one time. |
173 | The default is 256, and should be more than enough. Embedded | 173 | The default is 256, and should be more than enough. Embedded |
174 | systems may want to reduce this to save memory. | 174 | systems may want to reduce this to save memory. |
@@ -194,10 +194,10 @@ config UML_WATCHDOG | |||
194 | config UML_SOUND | 194 | config UML_SOUND |
195 | tristate "Sound support" | 195 | tristate "Sound support" |
196 | help | 196 | help |
197 | This option enables UML sound support. If enabled, it will pull in | 197 | This option enables UML sound support. If enabled, it will pull in |
198 | soundcore and the UML hostaudio relay, which acts as a intermediary | 198 | soundcore and the UML hostaudio relay, which acts as a intermediary |
199 | between the host's dsp and mixer devices and the UML sound system. | 199 | between the host's dsp and mixer devices and the UML sound system. |
200 | It is safe to say 'Y' here. | 200 | It is safe to say 'Y' here. |
201 | 201 | ||
202 | config SOUND | 202 | config SOUND |
203 | tristate | 203 | tristate |
@@ -215,22 +215,21 @@ config HW_RANDOM | |||
215 | config UML_RANDOM | 215 | config UML_RANDOM |
216 | tristate "Hardware random number generator" | 216 | tristate "Hardware random number generator" |
217 | help | 217 | help |
218 | This option enables UML's "hardware" random number generator. It | 218 | This option enables UML's "hardware" random number generator. It |
219 | attaches itself to the host's /dev/random, supplying as much entropy | 219 | attaches itself to the host's /dev/random, supplying as much entropy |
220 | as the host has, rather than the small amount the UML gets from its | 220 | as the host has, rather than the small amount the UML gets from its |
221 | own drivers. It registers itself as a standard hardware random number | 221 | own drivers. It registers itself as a standard hardware random number |
222 | generator, major 10, minor 183, and the canonical device name is | 222 | generator, major 10, minor 183, and the canonical device name is |
223 | /dev/hwrng. | 223 | /dev/hwrng. |
224 | The way to make use of this is to install the rng-tools package | 224 | The way to make use of this is to install the rng-tools package |
225 | (check your distro, or download from | 225 | (check your distro, or download from |
226 | http://sourceforge.net/projects/gkernel/). rngd periodically reads | 226 | http://sourceforge.net/projects/gkernel/). rngd periodically reads |
227 | /dev/hwrng and injects the entropy into /dev/random. | 227 | /dev/hwrng and injects the entropy into /dev/random. |
228 | 228 | ||
229 | config MMAPPER | 229 | config MMAPPER |
230 | tristate "iomem emulation driver" | 230 | tristate "iomem emulation driver" |
231 | help | 231 | help |
232 | This driver allows a host file to be used as emulated IO memory inside | 232 | This driver allows a host file to be used as emulated IO memory inside |
233 | UML. | 233 | UML. |
234 | 234 | ||
235 | endmenu | 235 | endmenu |
236 | |||