android_kernel_motorola_sm6225/drivers/media/video/cx18
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
..
cx18-audio.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-audio.h
cx18-av-audio.c V4L/DVB (8462): cx18: Lock the aux PLL to the video pixle rate for analog captures 2008-07-26 12:54:19 -03:00
cx18-av-core.c V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-av-core.h V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-av-firmware.c V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-av-vbi.c V4L/DVB (8378): cx18: move cx18_av_vbi_setup to av-core.c and rename to cx18_av_std_setup 2008-07-20 07:28:12 -03:00
cx18-cards.c V4L/DVB (9131): cx18: Add entries for the Leadtek PVR2100 and Toshiba Qosmio DVB-T/Analog 2008-10-12 09:37:16 -02:00
cx18-cards.h V4L/DVB (8332): cx18: Suport external reset of the Z8F0811 IR controller on HVR-1600 for lirc 2008-07-20 07:25:03 -03:00
cx18-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
cx18-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
cx18-driver.c V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
cx18-driver.h V4L/DVB (9131): cx18: Add entries for the Leadtek PVR2100 and Toshiba Qosmio DVB-T/Analog 2008-10-12 09:37:16 -02:00
cx18-dvb.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-dvb.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
cx18-fileops.c V4L/DVB (8773): cx18: Fix cx18_find_handle() and add error checking 2008-10-12 09:36:53 -02:00
cx18-fileops.h V4L/DVB (7856): cx18/: possible cleanups 2008-05-14 02:54:09 -03:00
cx18-firmware.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-firmware.h
cx18-gpio.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
cx18-gpio.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
cx18-i2c.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-i2c.h
cx18-io.c V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-io.h V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-ioctl.c V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses 2008-10-12 09:37:14 -02:00
cx18-ioctl.h V4L/DVB (8082): cx18: convert to video_ioctl2() 2008-07-20 07:10:43 -03:00
cx18-irq.c V4L/DVB (9132): cx18: Fix warning message for DMA done notification for inactive stream. 2008-10-12 09:37:16 -02:00
cx18-irq.h
cx18-mailbox.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-mailbox.h
cx18-queue.c V4L/DVB (8914): cx18: Throttle mmio to/from the CX23418 so boards work in older systems 2008-10-12 09:36:58 -02:00
cx18-queue.h V4L/DVB (8914): cx18: Throttle mmio to/from the CX23418 so boards work in older systems 2008-10-12 09:36:58 -02:00
cx18-scb.c V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00
cx18-scb.h
cx18-streams.c V4L/DVB (9133): v4l: disconnect kernel number from minor 2008-10-12 09:37:16 -02:00
cx18-streams.h V4L/DVB (7854): cx18/ivtv: improve and fix out-of-memory handling 2008-05-14 02:54:09 -03:00
cx18-vbi.c
cx18-vbi.h
cx18-version.h V4L/DVB (9111): cx18: Up the version to 1.0.1 2008-10-12 09:37:14 -02:00
cx18-video.c
cx18-video.h
cx23418.h V4L/DVB (8774): cx18: Have CX23418 release buffers at end of capture. 2008-10-12 09:36:53 -02:00
Kconfig V4L/DVB (8534): remove select's of FW_LOADER 2008-07-27 12:24:37 -03:00
Makefile V4L/DVB (8913): cx18: Create cx18_ specific wrappers for all pci mmio accessesors. 2008-10-12 09:36:58 -02:00