kernel-fxtec-pro1x/drivers/media/video/ivtv
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
..
ivtv-cards.c V4L/DVB (8106): ivtv/cx18: improve tuner std check in card definitions. 2008-07-20 07:12:01 -03:00
ivtv-cards.h V4L/DVB (8921): ivtv: fix incorrect capability and assorted sliced vbi and video out fmt fixes 2008-10-12 09:36:59 -02:00
ivtv-controls.c V4L/DVB (8113): ivtv/cx18: remove s/g_ctrl, now all controls are handled through s/g_ext_ctrl 2008-07-20 07:12:23 -03:00
ivtv-controls.h V4L/DVB (8113): ivtv/cx18: remove s/g_ctrl, now all controls are handled through s/g_ext_ctrl 2008-07-20 07:12:23 -03:00
ivtv-driver.c V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
ivtv-driver.h V4L/DVB (8856): v4l: fix assorted compile warnings/errors 2008-10-12 09:36:56 -02:00
ivtv-fileops.c V4L/DVB (8561): make ivtv_claim_stream() static 2008-10-12 09:36:46 -02:00
ivtv-fileops.h V4L/DVB (8561): make ivtv_claim_stream() static 2008-10-12 09:36:46 -02:00
ivtv-firmware.c V4L/DVB (7242): ivtv: fix for yuv filter table check 2008-03-20 12:38:57 -03:00
ivtv-firmware.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-gpio.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
ivtv-gpio.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
ivtv-i2c.c V4L/DVB (8856): v4l: fix assorted compile warnings/errors 2008-10-12 09:36:56 -02:00
ivtv-i2c.h V4L/DVB (6765): ivtv: convert to bus-based i2c API 2008-01-25 19:03:24 -02:00
ivtv-ioctl.c V4L/DVB (8921): ivtv: fix incorrect capability and assorted sliced vbi and video out fmt fixes 2008-10-12 09:36:59 -02:00
ivtv-ioctl.h V4L/DVB (8079): ivtv: Convert to video_ioctl2. 2008-07-20 07:10:31 -03:00
ivtv-irq.c V4L/DVB (8648): ivtv: improve CC support 2008-09-03 18:36:25 -03:00
ivtv-irq.h V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-mailbox.c V4L/DVB (7591): drivers/media/video: use time_before, time_before_eq, etc 2008-04-24 14:09:40 -03:00
ivtv-mailbox.h V4L/DVB (6861): cx2341x: command argument should be u32 instead of int 2008-01-25 19:04:04 -02:00
ivtv-queue.c V4L/DVB (7963): ivtv: trivial annotations 2008-06-05 06:35:49 -03:00
ivtv-queue.h V4L/DVB (8648): ivtv: improve CC support 2008-09-03 18:36:25 -03:00
ivtv-routing.c V4L/DVB (6488): ivtv: add ASUS Falcon2 support 2008-01-25 19:01:50 -02:00
ivtv-routing.h V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-streams.c V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
ivtv-streams.h V4L/DVB (7854): cx18/ivtv: improve and fix out-of-memory handling 2008-05-14 02:54:09 -03:00
ivtv-udma.c SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
ivtv-udma.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-vbi.c V4L/DVB (8648): ivtv: improve CC support 2008-09-03 18:36:25 -03:00
ivtv-vbi.h V4L/DVB (6116): ivtv: VBI cleanups and fixes 2007-10-09 22:07:14 -03:00
ivtv-version.h V4L/DVB (8633): ivtv: update ivtv version number 2008-09-03 18:36:24 -03:00
ivtv-yuv.c V4L/DVB (7963): ivtv: trivial annotations 2008-06-05 06:35:49 -03:00
ivtv-yuv.h V4L/DVB (7963): ivtv: trivial annotations 2008-06-05 06:35:49 -03:00
ivtvfb.c V4L/DVB (8249): Fix pointer cast warnings in the ivtv framebuffer driver 2008-07-20 07:18:58 -03:00
Kconfig V4L/DVB (8534): remove select's of FW_LOADER 2008-07-27 12:24:37 -03:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00