1
linux/drivers/media/video/em28xx
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
..
em28xx-audio.c V4L/DVB (9103): em28xx: HVR-900 B3C0 - fix audio clicking issue 2008-10-04 23:15:30 -03:00
em28xx-cards.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
em28xx-core.c V4L/DVB (7734): em28xx: copy and paste error in em28xx_init_isoc 2008-04-26 09:10:49 -03:00
em28xx-dvb.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
em28xx-i2c.c V4L/DVB (8937): em28xx: Fix and add some validations 2008-10-12 09:37:00 -02:00
em28xx-input.c V4L/DVB (8123): Add support for em2860 based PointNix Intra-Oral Camera 2008-07-20 07:12:48 -03:00
em28xx-reg.h V4L/DVB (8018): Add em2860 chip ID 2008-06-26 15:58:45 -03:00
em28xx-video.c V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
em28xx.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
Kconfig V4L/DVB (7848): Fix dependencies for tuner-xc2028 and em28xx-dvb 2008-05-14 02:54:07 -03:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00