Re: undeprecate raw driver.

From: Jan Engelhardt
Date: Sun May 13 2007 - 12:36:18 EST



On May 13 2007 12:32, Dave Jones wrote:

>Despite repeated attempts over the last two and half years, this driver
>seems somewhat persistant. Remove its deprecated status as it has
>existing users who may not be in a position to migrate their apps
>to O_DIRECT.
>
>Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
>
>diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
>index 498ff31..5108619 100644
>--- a/Documentation/feature-removal-schedule.txt
>+++ b/Documentation/feature-removal-schedule.txt
>@@ -41,14 +41,6 @@ Who: Pavel Machek <pavel@xxxxxxx>
>
> ---------------------------
>
>-What: RAW driver (CONFIG_RAW_DRIVER)
>-When: December 2005
>-Why: declared obsolete since kernel 2.6.3
>- O_DIRECT can be used instead
>-Who: Adrian Bunk <bunk@xxxxxxxxx>
>-
>----------------------------
>-
> What: raw1394: requests of type RAW1394_REQ_ISO_SEND, RAW1394_REQ_ISO_LISTEN
> When: June 2007
> Why: Deprecated in favour of the more efficient and robust rawiso interface.
>diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
>index abcafac..1e4d688 100644
>--- a/drivers/char/Kconfig
>+++ b/drivers/char/Kconfig
>@@ -993,15 +993,14 @@ config GPIO_VR41XX
> depends on CPU_VR41XX
>
> 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.
>+ 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

At least keep the "it's obsolete" Kconfig description. We
don't want new users/projects to jump on /dev/raw.



Jan
--
-
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/