kernel-ark/drivers/media/video/cx88
Trent Piepho 52ebc763d8 V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only
The direct register access ioctls were defined as kernel internal only,
but they are very useful for debugging hardware from userspace and are
used as such.  Officially export them.

VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER 
Definition of ioctl and struct v4l2_register is moved from v4l2-common.h 
to videodev2.h.

Types used in struct v4l2_register are changed to the userspace 
exportable versions (u32 -> __u32, etc). 

Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move 
the check into the video_ioctl2() dispatcher so it doesn't need to be 
duplicated in each driver's call-back function. CAP_SYS_ADMIN check is 
added to pvrusb2 (which doesn't use video_ioctl2).

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21 13:34:55 -02:00
..
cx88-alsa.c
cx88-blackbird.c V4L/DVB (5110): Keep the previous tvnorm default for cx88 and cx88-blackbird 2007-02-21 13:34:46 -02:00
cx88-cards.c V4L/DVB (5114): Cx88: Add support for svideo/composite input of the Terratec Cinergy 1400 DVB-T 2007-02-21 13:34:47 -02:00
cx88-core.c
cx88-dvb.c
cx88-i2c.c
cx88-input.c
cx88-mpeg.c
cx88-reg.h
cx88-tvaudio.c
cx88-vbi.c
cx88-video.c V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
cx88-vp3054-i2c.c
cx88-vp3054-i2c.h
cx88.h V4L/DVB (5109): Convert cx88-blackbird to use video_ioctl2 2007-02-21 13:34:46 -02:00
Kconfig
Makefile