original_kernel/drivers/media/video
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
..
bt8xx V4L/DVB (3715): Change all emails to the currently used one. 2006-06-25 01:57:39 -03:00
cpia2 V4L/DVB (3667b): cpia2: fix function prototype 2006-04-02 05:02:33 -03:00
cx88 V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
cx25840 V4L/DVB (3825): Remove broken 'fast firmware load' from cx25840. 2006-05-12 19:55:12 -03:00
em28xx V4L/DVB (3715): Change all emails to the currently used one. 2006-06-25 01:57:39 -03:00
et61x251 V4L/DVB (3774): Create V4L1 config options 2006-05-12 19:54:53 -03:00
ovcamchip
pwc V4L/DVB (3782): Removed uneeded stuff from pwc Makefile 2006-05-12 19:54:56 -03:00
saa7134 V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
sn9c102 V4L/DVB (3774): Create V4L1 config options 2006-05-12 19:54:53 -03:00
usbvideo [PATCH] USB: move <linux/usb_input.h> to <linux/usb/input.h> 2006-06-21 15:04:18 -07:00
zc0301 V4L/DVB (3774): Create V4L1 config options 2006-05-12 19:54:53 -03:00
Kconfig V4L/DVB (4041): Fix compilation on PPC 64 2006-05-23 16:08:29 -03:00
Makefile V4L/DVB (3927): Fix VIDEO_DEV=m, VIDEO_V4L1_COMPAT=y 2006-05-23 15:56:20 -03:00
adv7170.c
adv7175.c
arv.c
bt819.c
bt856.c
btcx-risc.c
btcx-risc.h
bw-qcam.c
bw-qcam.h
c-qcam.c
compat_ioctl32.c
cpia.c V4L/DVB (3753): Whitespace cleanups at media/radio 2006-06-25 01:57:53 -03:00
cpia.h
cpia_pp.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
cpia_usb.c
cs53l32a.c
cs8420.h
dabfirmware.h
dabusb.c
dabusb.h
dpc7146.c
dsbr100.c
font.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c V4L/DVB (3696): Previous change for cx2341X boards broke the remote support 2006-04-02 04:56:07 -03:00
meye.c
meye.h
msp3400-driver.c V4L/DVB (3709): Improve line-in handling 2006-06-25 01:57:34 -03:00
msp3400-driver.h V4L/DVB (3697): More msp3400 and bttv fixes 2006-04-02 04:56:08 -03:00
msp3400-kthreads.c V4L/DVB (3709): Improve line-in handling 2006-06-25 01:57:34 -03:00
mt20xx.c
mxb.c
mxb.h
ov511.c
ov511.h
planb.c
planb.h
pms.c
saa711x.c
saa5246a.c
saa5246a.h
saa5249.c
saa6588.c
saa7110.c
saa7111.c
saa7114.c
saa7115.c V4L/DVB (3712): Fix video input setting of em28xx, use _INT_S_VIDEO_ROUTING in tvp5150 2006-06-25 01:57:38 -03:00
saa7121.h
saa7127.c V4L/DVB (3767): Pvr350 tv out (saa7127) 2006-05-12 19:54:52 -03:00
saa7146.h
saa7146reg.h
saa7185.c
saa7191.c
saa7191.h
saa7196.h
se401.c
se401.h
stradis.c
stv680.c
stv680.h
tda7432.c
tda8290.c
tda9840.c
tda9840.h
tda9875.c
tda9887.c
tea5767.c V4L/DVB (3715): Change all emails to the currently used one. 2006-06-25 01:57:39 -03:00
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
tuner-3036.c
tuner-core.c V4L/DVB (3700): Remove obsolete commands from tvp5150.c 2006-04-02 04:56:09 -03:00
tuner-simple.c
tuner-types.c V4L/DVB (3829): Fix frequency values in the ranges structures of the LG TDVS H06xF tuners 2006-05-12 19:55:16 -03:00
tvaudio.c V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used. 2006-04-02 04:54:58 -03:00
tveeprom.c V4L/DVB (3813): Add support for TCL M2523_5N_E tuner. 2006-05-12 19:55:10 -03:00
tvmixer.c
tvp5150.c V4L/DVB (3712): Fix video input setting of em28xx, use _INT_S_VIDEO_ROUTING in tvp5150 2006-06-25 01:57:38 -03:00
tvp5150_reg.h
upd64031a.c V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
upd64083.c V4L/DVB (3665): Add new NEC uPD64031A and uPD64083 i2c drivers 2006-04-02 04:55:51 -03:00
v4l1-compat.c
v4l2-common.c V4L/DVB (3711): Add support for VIDIOC_INT_S_CRYSTAL_FREQ internal command. 2006-06-25 01:57:36 -03:00
video-buf-dvb.c V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
video-buf.c V4L/DVB (3620): Fix video-buf PCI wrappers 2006-04-02 04:55:12 -03:00
videocodec.c
videocodec.h
videodev.c
vino.c
vino.h
vivi.c V4L/DVB (3914): Vivi build fix 2006-05-12 19:55:21 -03:00
vpx3220.c
w9966.c
w9968cf.c
w9968cf.h
w9968cf_decoder.h
w9968cf_vpp.h
wm8739.c V4L/DVB (3661): Add wm8739 stereo audio ADC i2c driver 2006-04-02 04:55:45 -03:00
wm8775.c
zoran.h
zoran_card.c
zoran_card.h
zoran_device.c
zoran_device.h
zoran_driver.c
zoran_procfs.c
zoran_procfs.h
zr36016.c
zr36016.h
zr36050.c
zr36050.h
zr36057.h
zr36060.c
zr36060.h
zr36120.c
zr36120.h
zr36120_i2c.c
zr36120_mem.c
zr36120_mem.h