kernel-ark/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 V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
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
adv7170.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
adv7175.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
arv.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
bt819.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
bt856.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
btcx-risc.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
btcx-risc.h [PATCH] v4l: common part Updates and tuner additions 2005-09-09 13:57:49 -07:00
bw-qcam.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
bw-qcam.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
c-qcam.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
compat_ioctl32.c [PATCH] drivers/media/video __user annotations and fixes 2006-02-08 01:03:39 -05:00
cpia_pp.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
cpia_usb.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
cpia.c V4L/DVB (3753): Whitespace cleanups at media/radio 2006-06-25 01:57:53 -03:00
cpia.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
cs53l32a.c V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
cs8420.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
dabfirmware.h V4L/DVB (3599a): Move drivers/usb/media to drivers/media/video 2006-03-25 09:29:04 -03:00
dabusb.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
dabusb.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
dpc7146.c V4L/DVB (3537a): Whitespace cleanup 2006-03-21 08:53:57 -08:00
dsbr100.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
font.h V4L/DVB (3518): Creates a virtual video device driver 2006-03-24 16:26:49 -03:00
hexium_gemini.c V4L/DVB (3537a): Whitespace cleanup 2006-03-21 08:53:57 -08:00
hexium_orion.c V4L/DVB (3537a): Whitespace cleanup 2006-03-21 08:53:57 -08:00
ibmmpeg2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indycam.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
indycam.h VINO driver version 0.0.5. 2005-11-07 18:05:41 +00:00
ir-kbd-i2c.c V4L/DVB (3696): Previous change for cx2341X boards broke the remote support 2006-04-02 04:56:07 -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
meye.c V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
meye.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
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 V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
mxb.c V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode 2006-03-24 16:26:58 -03:00
mxb.h V4L/DVB (3537a): Whitespace cleanup 2006-03-21 08:53:57 -08:00
ov511.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
ov511.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
planb.c [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
planb.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
pms.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa711x.c [PATCH] I2C: Drop unneeded i2c-dev.h includes 2006-03-23 14:21:55 -08:00
saa5246a.c V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
saa5246a.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5249.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa6588.c V4L/DVB (3546): Fix Compilation after moving bttv code 2006-03-24 16:26:51 -03:00
saa7110.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7111.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7114.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
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 V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7127.c V4L/DVB (3767): Pvr350 tv out (saa7127) 2006-05-12 19:54:52 -03:00
saa7146.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7146reg.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7185.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
saa7191.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7191.h VINO driver version 0.0.5. 2005-11-07 18:05:41 +00:00
saa7196.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
se401.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
se401.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
stradis.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
stv680.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
stv680.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
tda7432.c V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
tda8290.c V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe 2006-03-03 14:18:07 -03:00
tda9840.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
tda9840.h V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo 2006-03-24 16:26:51 -03:00
tda9875.c V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
tda9887.c V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio. 2006-02-07 06:48:40 -02:00
tea5767.c V4L/DVB (3715): Change all emails to the currently used one. 2006-06-25 01:57:39 -03:00
tea6415c.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
tea6415c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
tea6420.h V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo 2006-03-24 16:26:51 -03:00
tuner-3036.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
tuner-core.c V4L/DVB (3700): Remove obsolete commands from tvp5150.c 2006-04-02 04:56:09 -03:00
tuner-simple.c V4L/DVB (3419): This patch fixes Tuner TNF5335 family 2006-03-21 08:52:55 -08:00
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 V4L/DVB (3307): Some cleanups at I2C modules 2006-01-09 15:53:26 -02:00
tvp5150_reg.h V4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150 2006-01-23 17:11:05 -02:00
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
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 V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
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 V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
videocodec.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
videodev.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
vino.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
vino.h [PATCH] Indycam / VINO drivers 2005-09-07 16:58:01 -07:00
vivi.c V4L/DVB (3914): Vivi build fix 2006-05-12 19:55:21 -03:00
vpx3220.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
w9966.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
w9968cf_decoder.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
w9968cf_vpp.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
w9968cf.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
w9968cf.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
wm8739.c V4L/DVB (3661): Add wm8739 stereo audio ADC i2c driver 2006-04-02 04:55:45 -03:00
wm8775.c V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
zoran_card.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_card.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_device.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_device.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_driver.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_procfs.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran_procfs.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zoran.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zr36016.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zr36016.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zr36050.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36057.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zr36060.c V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00
zr36060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_i2c.c V4L/DVB (3413): Typos grab bag of the month 2006-03-08 12:30:19 -03:00
zr36120_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.c Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2006-03-25 08:37:36 -08:00
zr36120.h V4L/DVB (3599b): Whitespace cleanups under drivers/media 2006-03-25 09:29:23 -03:00