linux/include/media
Hans Verkuil dd89601d47 V4L/DVB (9133): v4l: disconnect kernel number from minor
The v4l core creates four different video devices (video, vbi, radio, vtx)
and each has its own range of minor numbers. However, modern devices keep
increasing the number of devices that they need so a maximum of 64 video
devices will not be enough in the future. In addition this scheme makes
it very hard to add new device types.

This patch disconnects the kernel number allocation (e.g. video0, video1,
etc.) from the actual minor number (just pick the first free minor).

This allows for much more flexibility in the future. However, it does
require the use of udev. For those who cannot use udev a new CONFIG option
was created that changes the allocation scheme back to the old behavior.

Thanks to Greg KH for suggesting this approach during the 2008 LPC.

In addition, several bugs were fixed in the ivtv and cx18 drivers: these
drivers try to allocate specific kernel numbers but that scheme contained
a bug which caused what should have been e.g. video17 to appear as e.g.
video2.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-12 09:37:16 -02:00
..
cs53l32a.h
cs5345.h
cx2341x.h V4L/DVB (8105): cx2341x: add TS capability 2008-07-20 07:11:55 -03:00
cx25840.h V4L/DVB (8007): cx18/cx25840: the S-Video LUMA input can use all In1-In8 inputs 2008-06-26 15:58:42 -03:00
i2c-addr.h
ir-common.h V4L/DVB (9061): saa7134: Add support for Real Audio 220 2008-10-12 09:37:10 -02:00
ir-kbd-i2c.h V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c 2008-07-20 07:29:03 -03:00
m52790.h
msp3400.h
ovcamchip.h
pwc-ioctl.h v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
rds.h
saa6752hs.h
saa7115.h V4L/DVB (8940): saa7115: fix saa7111(a) support 2008-10-12 09:37:00 -02:00
saa7127.h
saa7146_vv.h V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h 2008-07-23 19:00:17 -03:00
saa7146.h V4L/DVB (8559): replace __FUNCTION__ with __func__ 2008-10-12 09:36:56 -02:00
sh_mobile_ceu.h V4L/DVB (8687): soc-camera: Move .power and .reset from soc_camera host to sensor driver 2008-10-12 09:36:50 -02:00
soc_camera_platform.h V4L/DVB (8343): soc_camera_platform: Add SoC Camera Platform driver 2008-07-20 07:25:49 -03:00
soc_camera.h V4L/DVB (8687): soc-camera: Move .power and .reset from soc_camera host to sensor driver 2008-10-12 09:36:50 -02:00
tuner-types.h
tuner.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tvaudio.h
tveeprom.h V4L/DVB (8479): tveeprom/ivtv: fix usage of has_ir field 2008-07-26 12:54:42 -03:00
tvp5150.h
upd64031a.h
upd64083.h
v4l2-chip-ident.h V4L/DVB (8683): Add Micron mt9m111 chip ID in V4L2 identifiers 2008-10-12 09:36:50 -02:00
v4l2-common.h V4L/DVB (8940): saa7115: fix saa7111(a) support 2008-10-12 09:37:00 -02:00
v4l2-dev.h V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
v4l2-i2c-drv-legacy.h v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
v4l2-i2c-drv.h
v4l2-int-device.h
v4l2-ioctl.h V4L/DVB (8482): videodev: move all ioctl callbacks to a new v4l2_ioctl_ops struct 2008-07-26 12:54:58 -03:00
videobuf-core.h
videobuf-dma-contig.h V4L/DVB (8341): videobuf: Add physically contiguous queue code V3 2008-07-20 07:25:37 -03:00
videobuf-dma-sg.h V4L/DVB (8340): videobuf: Fix gather spelling 2008-07-20 07:25:32 -03:00
videobuf-dvb.h
videobuf-vmalloc.h V4L/DVB (8340): videobuf: Fix gather spelling 2008-07-20 07:25:32 -03:00
wm8775.h