linux/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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
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 V4L/DVB (5102): make videodev to auto-generate standards 2007-02-21 13:34:44 -02:00
cx88-dvb.c V4L/DVB (4947): Cx88: trivial cleanups 2006-12-10 09:22:53 -02:00
cx88-i2c.c V4L/DVB (4679): Fix for NULL pointer dereference oops during boot. 2006-10-03 15:14:28 -03:00
cx88-input.c V4L/DVB (4949a): Fix INIT_WORK 2006-12-10 09:22:53 -02:00
cx88-mpeg.c V4L/DVB (4736): Cx88-blackbird module is rejected during probe. 2006-12-10 08:50:50 -02:00
cx88-reg.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
cx88-tvaudio.c V4L/DVB (5012a): Remove some unused code from kernel mainstream 2007-02-21 13:34:15 -02:00
cx88-vbi.c V4L/DVB (5102): make videodev to auto-generate standards 2007-02-21 13:34:44 -02:00
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 i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
cx88-vp3054-i2c.h V4L/DVB (3220): Add support for VP-3054 HDTV board 2006-01-09 15:25:35 -02:00
cx88.h V4L/DVB (5109): Convert cx88-blackbird to use video_ioctl2 2007-02-21 13:34:46 -02:00
Kconfig V4L/DVB (4846): Create new lgh06xf atsc tuner module 2006-12-10 08:51:32 -02:00
Makefile V4L/DVB (4388): Remove frontend selection from cx88/saa7134 drivers 2006-09-26 11:53:26 -03:00