diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-02-05 08:10:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:12 -0400 |
commit | 7ee40aadabd59b6cab60835f0ef9cdbe385df438 (patch) | |
tree | 61e8856b6c2d159f489ec0147bedb190ac951fcf /Documentation | |
parent | dae86ccbc3c185aebfc396e8e668aa3d73d748d8 (diff) |
[media] v4l: removal of old, obsolete ioctls
Some ioctl's were defined wrong on 2.6.2 and 2.6.6, using the wrong
type of R/W arguments. They were fixed, but the old ioctl names are
still there, maintained to avoid breaking binary compatibility:
There's no sense on preserving those forever, as it is very doubtful
that someone would try to use a such old binary with a modern kernel.
Removing them will allow us to remove some magic done at the V4L ioctl
handler.
Note that any application compiled with a videodev2.h from 2.6.7 or later
will be using the correct ioctls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 08e0df12df37..61fb823e5a95 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -97,27 +97,6 @@ Who: Pavel Machek <pavel@ucw.cz> | |||
97 | 97 | ||
98 | --------------------------- | 98 | --------------------------- |
99 | 99 | ||
100 | What: Video4Linux: Remove obsolete ioctl's | ||
101 | When: kernel 2.6.39 | ||
102 | Files: include/media/videodev2.h | ||
103 | Why: Some ioctl's were defined wrong on 2.6.2 and 2.6.6, using the wrong | ||
104 | type of R/W arguments. They were fixed, but the old ioctl names are | ||
105 | still there, maintained to avoid breaking binary compatibility: | ||
106 | #define VIDIOC_OVERLAY_OLD _IOWR('V', 14, int) | ||
107 | #define VIDIOC_S_PARM_OLD _IOW('V', 22, struct v4l2_streamparm) | ||
108 | #define VIDIOC_S_CTRL_OLD _IOW('V', 28, struct v4l2_control) | ||
109 | #define VIDIOC_G_AUDIO_OLD _IOWR('V', 33, struct v4l2_audio) | ||
110 | #define VIDIOC_G_AUDOUT_OLD _IOWR('V', 49, struct v4l2_audioout) | ||
111 | #define VIDIOC_CROPCAP_OLD _IOR('V', 58, struct v4l2_cropcap) | ||
112 | There's no sense on preserving those forever, as it is very doubtful | ||
113 | that someone would try to use a such old binary with a modern kernel. | ||
114 | Removing them will allow us to remove some magic done at the V4L ioctl | ||
115 | handler. | ||
116 | |||
117 | Who: Mauro Carvalho Chehab <mchehab@infradead.org> | ||
118 | |||
119 | --------------------------- | ||
120 | |||
121 | What: sys_sysctl | 100 | What: sys_sysctl |
122 | When: September 2010 | 101 | When: September 2010 |
123 | Option: CONFIG_SYSCTL_SYSCALL | 102 | Option: CONFIG_SYSCTL_SYSCALL |