Re: 2.6.2-rc1-mm1

From: Andrew Morton
Date: Thu Jan 22 2004 - 15:32:04 EST


viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
>
> { raw driver stuff ]
>

I'd be inclined to leave the raw driver as-is, frankly. It's deprecated,
obsolete and we should be trying to remove it from 2.7.

--- 25/drivers/char/Kconfig~raw-is-obsolete 2004-01-22 12:30:02.000000000 -0800
+++ 25-akpm/drivers/char/Kconfig 2004-01-22 12:31:32.000000000 -0800
@@ -961,12 +961,15 @@ config SCx200_GPIO
If compiled as a module, it will be called scx200_gpio.

config RAW_DRIVER
- tristate "RAW driver (/dev/raw/rawN)"
+ tristate "RAW driver (/dev/raw/rawN) (OBSOLETE)"
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 may be removed from 2.7 kernels.
+ Applications should simply open /dev/hda with the O_DIRECT flag.
+
config MAX_RAW_DEVS
int "Maximum number of RAW devices to support (1-8192)"
depends on RAW_DRIVER

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/