Date: Mon, 20 Nov 2006 00:07:26 +0100 (CET) From: Stefan Richter Subject: ieee1394: dv1394: schedule for feature removal Signed-off-by: Stefan Richter Signed-off-by: Dan Dennedy --- Update: defer to June 2007, mention ffmpeg, xine, dvgrab2 Documentation/feature-removal-schedule.txt | 11 +++++++++++ drivers/ieee1394/Kconfig | 13 ++++--------- drivers/ieee1394/dv1394.c | 4 ++++ 3 files changed, 19 insertions(+), 9 deletions(-) Index: linux/Documentation/feature-removal-schedule.txt =================================================================== --- linux.orig/Documentation/feature-removal-schedule.txt 2006-11-11 17:00:35.000000000 +0100 +++ linux/Documentation/feature-removal-schedule.txt 2006-11-11 18:40:08.000000000 +0100 @@ -39,6 +39,17 @@ Who: Dan Dennedy , Stef --------------------------- +What: dv1394 driver (CONFIG_IEEE1394_DV1394) +When: June 2007 +Why: Replaced by raw1394 + userspace libraries, notably libiec61883. This + shift of application support has been indicated on www.linux1394.org + and developers' mailinglists for quite some time. Major applications + have been converted, with the exception of ffmpeg and hence xine. + Piped output of dvgrab2 is a partial equivalent to dv1394. +Who: Dan Dennedy , Stefan Richter + +--------------------------- + What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. When: December 2006 Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 Index: linux/drivers/ieee1394/Kconfig =================================================================== --- linux.orig/drivers/ieee1394/Kconfig 2006-11-11 16:58:34.000000000 +0100 +++ linux/drivers/ieee1394/Kconfig 2006-11-11 18:39:22.000000000 +0100 @@ -161,17 +161,12 @@ config IEEE1394_ETH1394 MCAP, therefore multicast support is significantly limited. config IEEE1394_DV1394 - tristate "OHCI-DV I/O support" + tristate "OHCI-DV I/O support (deprecated)" depends on IEEE1394 && IEEE1394_OHCI1394 help - This driver allows you to transmit and receive DV (digital video) - streams on an OHCI-1394 card using a simple frame-oriented - interface. - - The user-space API for dv1394 is documented in dv1394.h. - - To compile this driver as a module, say M here: the - module will be called dv1394. + The dv1394 driver will be removed from Linux in a future release. + Its functionality is now provided by raw1394 together with libraries + such as libiec61883. config IEEE1394_RAWIO tristate "Raw IEEE1394 I/O support" Index: linux/drivers/ieee1394/dv1394.c =================================================================== --- linux.orig/drivers/ieee1394/dv1394.c 2006-11-11 16:58:34.000000000 +0100 +++ linux/drivers/ieee1394/dv1394.c 2006-11-11 17:00:35.000000000 +0100 @@ -2579,6 +2579,10 @@ static int __init dv1394_init_module(voi { int ret; + printk(KERN_WARNING + "WARNING: The dv1394 driver is unsupported and will be removed " + "from Linux soon. Use raw1394 instead.\n"); + cdev_init(&dv1394_cdev, &dv1394_fops); dv1394_cdev.owner = THIS_MODULE; kobject_set_name(&dv1394_cdev.kobj, "dv1394");