diff options
author | Allan Graves <allan.graves@gmail.com> | 2007-02-28 23:13:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 17:53:38 -0500 |
commit | cf2775f175128fc9fd7ffb88981e068d27bc85db (patch) | |
tree | 559429e98ec7acbdb1fe4d43beb1f0f119b4c62d /arch/um/Kconfig.char | |
parent | 77904fd64eb9131c337dd068e4196d25c2f9de7e (diff) |
[PATCH] uml: enable RAW
Add the RAW device driver options to the UML Kconfig.char file so that you may
use them in UML.
Signed-off-by: Allan Graves<allan.graves@gmail.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
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 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/um/Kconfig.char b/arch/um/Kconfig.char index e03e40c7aac3..a5b079d5e865 100644 --- a/arch/um/Kconfig.char +++ b/arch/um/Kconfig.char | |||
@@ -146,6 +146,25 @@ config LEGACY_PTYS | |||
146 | security. This option enables these legacy devices; on most | 146 | security. This option enables these legacy devices; on most |
147 | systems, it is safe to say N. | 147 | systems, it is safe to say N. |
148 | 148 | ||
149 | config RAW_DRIVER | ||
150 | tristate "RAW driver (/dev/raw/rawN) (OBSOLETE)" | ||
151 | help | ||
152 | The raw driver permits block devices to be bound to /dev/raw/rawN. | ||
153 | Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O. | ||
154 | See the raw(8) manpage for more details. | ||
155 | |||
156 | The raw driver is deprecated and will be removed soon. | ||
157 | Applications should simply open the device (eg /dev/hda1) | ||
158 | with the O_DIRECT flag. | ||
159 | |||
160 | config MAX_RAW_DEVS | ||
161 | int "Maximum number of RAW devices to support (1-8192)" | ||
162 | depends on RAW_DRIVER | ||
163 | default "256" | ||
164 | help | ||
165 | The maximum number of RAW devices that are supported. | ||
166 | Default is 256. Increase this number in case you need lots of | ||
167 | raw devices. | ||
149 | 168 | ||
150 | config LEGACY_PTY_COUNT | 169 | config LEGACY_PTY_COUNT |
151 | int "Maximum number of legacy PTY in use" | 170 | int "Maximum number of legacy PTY in use" |