Skip to content

Commit

Permalink
uml: fix CONFIG_RAW dependencies
Browse files Browse the repository at this point in the history
Add the BLOCK dependency for RAW_DRIVER, to match what's in
drivers/char/Kconfig.  Also, while we're there, update the alleged
obsolesence of RAW_DRIVER since it doesn't seem to be going away any
time soon.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed May 13, 2008
1 parent 5563d72 commit 63b9871
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/um/Kconfig.char
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ config LEGACY_PTYS
systems, it is safe to say N.

config RAW_DRIVER
tristate "RAW driver (/dev/raw/rawN) (OBSOLETE)"
tristate "RAW driver (/dev/raw/rawN)"
depends on BLOCK
help
The raw driver permits block devices to be bound to /dev/raw/rawN.
Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
See the raw(8) manpage for more details.

The raw driver is deprecated and will be removed soon.
Applications should simply open the device (eg /dev/hda1)
Applications should preferably open the device (eg /dev/hda1)
with the O_DIRECT flag.

config MAX_RAW_DEVS
Expand Down

0 comments on commit 63b9871

Please sign in to comment.