android_kernel_samsung_msm8976/drivers/media/video/saa7134
Andrew de Quincey d09dbf92ad V4L/DVB (3762): Add sysfs device links to dvb devices
Currently in /sys/class/dvb/dvbX.demuxY/ we have:
	dev
	uevent
With the patch, we have (for a PCI DVB device):
	dev
	device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0
	uevent
So userspace tools can (finally) work out which physical device a DVB adapter
refers to. Previously you had to kinda look through dmesg and hope that it
hadn't been dumped out of the buffer. This makes debugging a lot easier if
the system has been up for a long time!
This is done by adding an extra 'struct device *' parameter to
dvb_register_adapter(). It will work with any kind of standard
linux 'device'. Additionally, if someone has an embedded system which does
things differently, they can simply supply 'NULL' and the behaviour will be
as before - the link will simply not appear.

Ack'd-by: Manu Abraham <manu@linuxtv.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-25 01:57:55 -03:00
..
Kconfig V4L/DVB (3615): Saa7134: select FW_LOADER 2006-04-02 04:55:04 -03:00
Makefile kbuild: fix unneeded rebuilds in drivers/media/video after moving source tree 2006-04-04 16:50:50 +02:00
saa6752hs.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7134-alsa.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-cards.c V4L/DVB (3826): Saa7134: Missing 'break' in Terratec Cinergy 400 TV initialization 2006-05-12 19:55:14 -03:00
saa7134-core.c V4L/DVB (3738): Saa7134: Fix oops with disable_ir=1 2006-05-12 19:54:41 -03:00
saa7134-dvb.c V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
saa7134-empress.c V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
saa7134-i2c.c V4L/DVB (3269): ioctls cleanups. 2006-01-09 15:32:31 -02:00
saa7134-input.c V4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control 2006-02-27 00:08:46 -03:00
saa7134-oss.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-reg.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
saa7134-ts.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-tvaudio.c V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode 2006-03-24 16:26:58 -03:00
saa7134-vbi.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-video.c V4L/DVB (3774): Create V4L1 config options 2006-05-12 19:54:53 -03:00
saa7134.h V4L/DVB (3646): Added support for the new Lifeview hybrid cardbus modules 2006-04-02 04:55:22 -03:00